Curve.Intersect(Curve) Method

Note: This API is now obsolete.

Calculates the intersection of this curve with the specified curve.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)

Syntax

C#

[ObsoleteAttribute("This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Use the new Curve.Intersect method with CurveIntersectResultOption.Simple. Note also that the updated method has improved handling of certain edge cases.")]
public SetComparisonResult Intersect(
	Curve curve
)

Parameters

curve  Curve
The specified curve to intersect with this curve.

Return Value

SetComparisonResult

Exceptions

ExceptionCondition
ArgumentNullException The specified curve is null.
InvalidOperationException Failed to calculate the intersection.

See Also

Reference

Curve Class
Intersect Overload
Autodesk.Revit.DB Namespace