2026 Method
Changes 8
M

Curve.Intersect

Description:
Calculates the intersection of this curve with the specified curve and returns the intersection results.
Remarks:
The array of the intersection results contains one entry for each point where curves intersect. The following is the meaning of IntersectionResult members:
  • XYZPoint is the evaluated intersection point
  • UVPoint.U is the unnormalized parameter on this curve (use ComputeNormalizedParameter to compute the normalized value).
  • UVPoint.V is the unnormalized parameter on the specified curve (use ComputeNormalizedParameter to compute the normalized value).
Overloads (3):
Intersect(Curve,IntersectionResultArray)
[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.Detailed. Note also that the updated method has improved handling of certain edge cases.")]
public SetComparisonResult Intersect(
	Curve curve,
	out IntersectionResultArray resultArray
)
  • curve
    The specified curve to intersect with this curve.
  • resultArray
    Provides more information about the intersection.
Return Value SetComparisonResult SetComparisonResult.Overlap - One or more intersections were encountered. The output argument has the details. SetComparisonResult.Subset - The inputs are parallel lines with only one common intersection point, or the curve used to invoke the intersection check is a line entirely within the unbound line passed as argument curve. If the former, the output argument has the details of the intersection point. SetComparisonResult.Superset - The input curve is entirely within the unbound line used to invoke the intersection check. SetComparisonResult.Disjoint - There is no intersection found between the two curves. SetComparisonResult.Equal - The two curves are identical.