BrepLoopList
ReferencesProvides access to all the Loops in a Brep object.
Properties
Indexers
this[]
#Gets the BrepLoop at the given index. The index must be valid or an IndexOutOfRangeException will be thrown.
Parameters:
| index (int) | Index of BrepLoop to access. |
Returns: The BrepLoop at [index].
Exceptions:
| IndexOutOfRangeException | Thrown when the index is invalid. |
Methods
Create a new boundary loop on a face. After you get this BrepLoop, you still need to create the vertices, edges, and trims that define the loop.
Parameters:
| loopType (BrepLoopType) | |
| face (BrepFace) |
Returns: New loop that needs to be filled in
Create a new empty boundary loop. The new loop will not be part of a face and will not include any trim curves.
Parameters:
| loopType (BrepLoopType) |
Create a new outer boundary loop that runs along the sides of the face's surface. All the necessary trims, edges, and vertices are created and added to the brep.
Parameters:
| faceIndex (int) | index of face that needs an outer boundary that runs along the sides of its surface. |
Returns: New outer boundary loop that is complete.
public BrepLoop AddPlanarFaceLoop(int faceIndex, BrepLoopType loopType, IEnumerable<Curve> boundaryCurves)
Add a planar trimming loop to a planar face
Parameters:
| faceIndex (int) | index of planar face. The underlying surface must be a PlaneSurface |
| loopType (BrepLoopType) | type of loop to add. If loopType is Unknown, then the loop direction is tested and 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 (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. |
Returns: new loop if successful
Gets an enumerator that visits all edges.
Returns: The enumerator.
Gets the same enumerator as GetEnumerator().
Returns: The enumerator.