BrepCurveList

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

Properties

Count

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

Indexers

this[]

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

Methods

Add

#Since v5.6
public int Add(Curve curve)
Adds a curve
curve (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
public IEnumerator<Curve> GetEnumerator()
Get an enumerator that visits all curves.
The enumerator.
Explicit

IEnumerable.GetEnumerator

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