SolidCurveIntersection Class

This class represents the results of a calculation of intersection between a solid volume and a curve.
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.DBSolidCurveIntersection

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class SolidCurveIntersection : IEnumerable<Curve>, 
	IDisposable

The SolidCurveIntersection type exposes the following members.

Properties
 NameDescription
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public propertyResultType The result type used to calculate the intersections.
Public propertySegmentCount The number of segments in the results.
Top
Methods
 NameDescription
Public methodDisposeReleases all resources used by the SolidCurveIntersection
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodGetBasicIEnumeratorReturns an enumerator that iterates through a collection.
Public methodGetCurveSegment Gets the curve segment generated by intersection.
Public methodGetCurveSegmentExtents Gets the extents for the given curve segment generated by intersection.
Public methodGetEnumeratorReturns an enumerator that iterates through a collection.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
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.
See Also