BrepSurfaceList

References
Provides access to all the underlying surfaces in a Brep object.

Properties

Count

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

Indexers

this[]

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

Methods

GetEnumerator

#Since v5.4
public IEnumerator<Surface> 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.