SolidCurveIntersection
This class represents the results of a calculation of intersection between a solid volume and a curve.
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.SolidCurveIntersection
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class SolidCurveIntersection : IEnumerable<Curve>, IDisposableThe SolidCurveIntersection type exposes the following members.
Properties
Name
Description
Public Property
IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Public Property
ResultType
The result type used to calculate the intersections.
Public Property
SegmentCount
The number of segments in the results.
Methods
Name
Description
Public Method
Dispose
Releases all resources used by the SolidCurveIntersection
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Protected Method
GetBasicIEnumerator
Returns an enumerator that iterates through a collection.
Public Method
GetCurveSegment
Gets the curve segment generated by intersection.
Public Method
GetCurveSegmentExtents
Gets the extents for the given curve segment generated by intersection.
Public Method
GetEnumerator
Returns an enumerator that iterates through a collection.
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)
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.