T_Rhino_Geometry_Collections_BrepFaceList - mcneel/rhinocommon-api-docs GitHub Wiki

BrepFaceList Class

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) Version: Rhino 6.0

Syntax

C#

public class BrepFaceList : IEnumerable<BrepFace>, 
	IEnumerable

VB

Public Class BrepFaceList
	Implements IEnumerable(Of 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.
  Back to Top

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 faces 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.)
  Back to Top

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Rhino.Geometry.Collections Namespace

⚠️ **GitHub.com Fallback** ⚠️