Skip to content

M_Rhino_Geometry_Collections_BrepTrimList_AddCurveOnFace

Will Pearson edited this page Aug 12, 2016 · 2 revisions

BrepTrimList.AddCurveOnFace Method

Add a new curve on face to the brep

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

Syntax

C#

public BrepTrim AddCurveOnFace(
	BrepFace face,
	BrepEdge edge,
	bool rev3d,
	int curve2dIndex
)

VB

Public Function AddCurveOnFace ( 
	face As BrepFace,
	edge As BrepEdge,
	rev3d As Boolean,
	curve2dIndex As Integer
) As BrepTrim

Parameters

 

face
Type: Rhino.Geometry.BrepFace
face that curve lies on
edge
Type: Rhino.Geometry.BrepEdge
3d edge associated with this curve on surface
rev3d
Type: System.Boolean
true if the 3d edge and the 2d parameter space curve have opposite directions.
curve2dIndex
Type: System.Int32
index of 2d curve in face's parameter space

Return Value

Type: BrepTrim
new trim that represents the curve on surface

Remarks

You should set the trim's tolerance and iso values.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

BrepTrimList Class
Rhino.Geometry.Collections Namespace

Clone this wiki locally