M_Rhino_Geometry_Collections_BrepVertexList_AddPointOnFace - mcneel/rhinocommon-api-docs GitHub Wiki

BrepVertexList.AddPointOnFace Method

Adds a new point on face to the brep

Namespace: Rhino.Geometry.Collections
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public BrepVertex AddPointOnFace(
	BrepFace face,
	double s,
	double t
)

VB

Public Function AddPointOnFace ( 
	face As BrepFace,
	s As Double,
	t As Double
) As BrepVertex

Parameters

 

face
Type: Rhino.Geometry.BrepFace
face that vertex lies on
s
Type: System.Double
surface parameters
t
Type: System.Double
surface parameters

Return Value

Type: BrepVertex
new vertex that represents the point on face

Remarks

If a vertex is a point on a face, then brep.Edges[m_ei] will be an edge with no 3d curve. This edge will have a single trim with type ON_BrepTrim::ptonsrf. There will be a loop containing this single trim.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

BrepVertexList Class
Rhino.Geometry.Collections Namespace

⚠️ **GitHub.com Fallback** ⚠️