Face.Intersect(Curve, IntersectionResultArray) Method

Calculates the intersection of the specified curve with this face and returns the intersection results.


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

Syntax

C#

public SetComparisonResult Intersect(
	Curve curve,
	out IntersectionResultArray results
)

Parameters

curve  Curve
The specified curve to intersect with this face.
results  IntersectionResultArray%
Provides more information about the intersection.

Return Value

SetComparisonResult

Exceptions

ExceptionCondition
ArgumentNullException The curve is null.
InvalidOperationException The intersection calculation fails.

Remarks

The array of the intersection results contains one entry for each point where this face and the curve intersect. The following is the meaning of IntersectionResult's members:

See Also

Reference

Face Class
Intersect Overload
Autodesk.Revit.DB Namespace