BrepFaceList
Provides access to all the Faces in a Brep object.
Inheritance Hierarchy
System.Object
Rhino.Geometry.Collections.BrepFaceList
Namespace: Rhino.Geometry.Collections
Assembly: RhinoCommon (in RhinoCommon.dll)
Syntax
public class BrepFaceList : IEnumerable<BrepFace>, IEnumerable
The BrepFaceList type exposes the following members.
Properties
Name
Description
Public Property
Count
Gets the number of brep faces.
Public Property
Item
Gets the BrepFace at the given index. The index must be valid or an IndexOutOfRangeException will be thrown.
Methods
Name
Description
Public Method
Add(Int32)
Create and add a new face to this list. An incomplete face is added. The caller must create and fill in the loops used by the face.
Public Method
Add(Surface)
Add a new face to a brep. This creates a complete face with new vertices at the surface corners, new edges along the surface boundary, etc. The loop of the returned face has four trims that correspond to the south, east, north, and west side of the surface in that order. If you use this version of Add to add an exiting brep, then you are responsible for using a tool like JoinEdges() to hook the new face to its neighbors.
Public Method
AddConeFace
Add a new face to the brep whose surface geometry is a ruled cone with the edge as the base and the vertex as the apex point.
Public Method
AddRuledFace
Add a new face to the brep whose surface geometry is a ruled surface between two edges.
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public Method
ExtractFace
Extracts a face from a Brep.
Protected Method
Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public Method
Flip
Flips the orientation of faces.
Public Method
GetEnumerator
Gets an enumerators that yields BrepFace objects.
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected Method
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public Method
RemoveAt
Deletes a face at a specified index.
Public Method
RemoveSlits
Remove slit trims and slit boundaries from each face.
Public Method
ShrinkFaces
Shrinks all the underlying surfaces in this Brep. Sometimes the surfaces extend far beyond the trimming boundaries of the Brep Face. This function will remove those portions of the surfaces that are not used.
Public Method
SplitBipolarFaces
Splits surfaces with two singularities, like spheres, so the results have at most one singularity.
Public Method
SplitClosedFaces
Splits closed surfaces so they are not closed.
Public Method
SplitFaceAtTangents
Splits the face of a Brep at tangent locations.
Public Method
SplitFacesAtTangents
Splits all of the faces of a Brep at tangent locations.
Public Method
SplitKinkyFace
Splits a single face into G1 pieces.
Public Method
SplitKinkyFaces.
Splits any faces with creases into G1 pieces.
Public Method
SplitKinkyFaces(Double)
Splits any faces with creases into G1 pieces.
Public Method
SplitKinkyFaces(Double, Boolean)
Splits any faces with creases into G1 pieces.
Public Method
StandardizeFaceSurface
Standardizes the relationship between a BrepFace and the 3d surface it uses. When done, the face will be the only face that references its 3d surface, and the orientations of the face and 3d surface will be the same.
Public Method
StandardizeFaceSurfaces
Standardize all faces in the brep.
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object.)