2025 Class
Changes 0
C

SolidCurveIntersection

Description:
This class represents the results of a calculation of intersection between a solid volume and a curve.
Remarks:
The results contain a collection of curves and a collection of curve extents (which are the parameters of intersection from the original input curve). Depending on the SolidCurveIntersectionMode option passed when executing the calculation, the curve segments and curve extents represent either the extents of the curve which exist inside the solid, or the extents of the curve which exist outside the solid. If the curve is entirely inside the solid, and the option is CurveSegmentsOutside, or if the curve is entirely outside the solid, and the option is CurveSegmentsInside, this results object will be empty. Note that curves aligned with the bounding faces of the solid are considered to be inside by this utility.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.SolidCurveIntersection
public class SolidCurveIntersection : IEnumerable<Curve>, 
	IDisposable
Name Return Type Description Inherited From
M Dispose() None Releases all resources used by the SolidCurveIntersection
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetBasicIEnumerator() IEnumerator Returns an enumerator that iterates through a collection.
M GetCurveSegment(Int32) Curve Gets the curve segment generated by intersection.
M GetCurveSegmentExtents(Int32) CurveExtents Gets the extents for the given curve segment generated by intersection.
M GetEnumerator() IEnumerator<Curve> Returns an enumerator that iterates through a collection.
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.
P ResultType SolidCurveIntersectionMode The result type used to calculate the intersections.
P SegmentCount int The number of segments in the results.