BrepCurveList

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

Properties

Count

#Since v5.6
Gets the number of curves in this list.
public int Count { get; }

Indexers

this[]

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

Methods

Add

#Since v5.6
Adds a curve
public int Add(
curve
A copy of the curve is added to this brep
)
Index that should be used to reference the geometry.

-1 is returned if the input is not acceptable.

GetEnumerator

#Since v5.6
Get an enumerator that visits all curves.
public IEnumerator<Curve> GetEnumerator()
The enumerator.
Explicit

IEnumerable.GetEnumerator

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