BrepVertexList

References
Provides access to all the Vertices in a Brep object

Properties

Count

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

Indexers

this[]

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

Methods

Add

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

Add

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

AddPointOnFace

#Since v5.4
public BrepVertex AddPointOnFace(BrepFace face, double s, double t)
Adds a new point on face to the brep
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.
face (BrepFace)face that vertex lies on
s (double)surface parameters
t (double)surface parameters
new vertex that represents the point on face

GetEnumerator

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

IEnumerable.GetEnumerator

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