BrepVertexList

References
Provides access to all the Vertices in a Brep object

Properties

Count

#Since v5.4
Gets the number of brep vertices.
public int Count { get; }

Indexers

this[]

#
Gets the BrepVertex at the given index. The index must be valid or an IndexOutOfRangeException will be thrown.
public BrepVertex this[
index
Index of BrepVertex to access.
] { get; }
The BrepVertex at [index].
IndexOutOfRangeExceptionThrown when the index is invalid.

Methods

Add

#Since v5.4
Create and add a new vertex to this list
public BrepVertex Add()

Add

#Since v5.4
Create and add a new vertex to this list
public BrepVertex Add(
point,
vertexTolerance
Use RhinoMath.UnsetTolerance if you are unsure
)

AddPointOnFace

#Since v5.4
Adds a new point on face to the brep
public BrepVertex AddPointOnFace(
face,
face that vertex lies on
s,
surface parameters
t
surface parameters
)
Remarks: If a vertex is a point on a face, then brep.Edges[edge_index] will be an edge with no 3d curve. This edge will have a single trim with type BrepTrimType.CurveOnSurface. There will be a loop containing this single trim.
new vertex that represents the point on face

GetEnumerator

#Since v5.4
Gets an enumerator that visits all surfaces.
public IEnumerator<BrepVertex> GetEnumerator()
The enumerator.
Explicit

IEnumerable.GetEnumerator

#Since v5.4
Gets the same enumerator as GetEnumerator().
IEnumerator IEnumerable.GetEnumerator()
The enumerator.