BrepTrimList.Add Method (Boolean, BrepEdge, Int32)

BrepTrimListAdd Method (Boolean, BrepEdge, Int32)

Add a new trim that will be part of an inner, outer, or slit loop to the brep

Namespace:  Rhino.Geometry.Collections
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public BrepTrim Add(
	bool rev3d,
	BrepEdge edge,
	int curve2dIndex
)
Public Function Add ( 
	rev3d As Boolean,
	edge As BrepEdge,
	curve2dIndex As Integer
) As BrepTrim

Parameters

rev3d
Type: SystemBoolean
true if the edge and trim have opposite directions
edge
Type: Rhino.GeometryBrepEdge
3d edge associated with this trim
curve2dIndex
Type: SystemInt32
index of 2d trimming curve

Return Value

Type: BrepTrim
new trim
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also