SolidCurveIntersection
Description:
This class represents the results of a calculation of intersection between a solid volume and a curve.
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.
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
System.Object
Autodesk.Revit.DB.SolidCurveIntersection
public class SolidCurveIntersection : IEnumerable<Curve>,
IDisposable
| Name | Return Type | Description |
|---|---|---|
| Dispose() | None | Releases all resources used by the |
| GetBasicIEnumerator() | IEnumerator | Returns an enumerator that iterates through a collection. |
| GetCurveSegmentExtents(Int32) | The curve extents. | Gets the extents for the given curve segment generated by intersection. |
| GetCurveSegment(Int32) | The curve. | Gets the curve segment generated by intersection. |
| GetEnumerator() | IEnumerator<Curve> | Returns an enumerator that iterates through a collection. |
| Name | Return Type | Description |
|---|---|---|
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |
| ResultType | SolidCurveIntersectionMode | The result type used to calculate the intersections. |
| SegmentCount | int | The number of segments in the results. |