M_Rhino_Geometry_Collections_BrepLoopList_AddPlanarFaceLoop - mcneel/rhinocommon-api-docs GitHub Wiki
Add a planar trimming loop to a planar face
Namespace: Rhino.Geometry.Collections
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public BrepLoop AddPlanarFaceLoop(
int faceIndex,
BrepLoopType loopType,
IEnumerable<Curve> boundaryCurves
)
VB
Public Function AddPlanarFaceLoop (
faceIndex As Integer,
loopType As BrepLoopType,
boundaryCurves As IEnumerable(Of Curve)
) As BrepLoop
- faceIndex
- Type: System.Int32
index of planar face. The underlying suface must be a PlaneSurface - loopType
- Type: Rhino.Geometry.BrepLoopType
type of loop to add. If loopType is Unknown, then the loop direction is tested and the the new loops type will be set to Outer or Inner. If the loopType is Outer, then the direction of the new loop is tested and flipped if it is clockwise. If the loopType is Inner, then the direction of the new loop is tested and flipped if it is counter-clockwise. - boundaryCurves
- Type: System.Collections.Generic.IEnumerable(Curve)
list of 3d curves that form a simple (no self intersections) closed curve. These curves define the 3d edge geometry and should be near the planar surface.
Type: BrepLoop
new loop if successful
Supported in: 6.0.16224.21491, 5D58w