RVTDocs.com
Namespace: Autodesk.Revit.DB Class: Face

Face.Intersect(Face, Curve)

Method
Description:
Calculates the intersection of the specified face with this face and returns the intersection results.
Remarks:
This is not a general-purpose function: it only works properly for simple configurations. For other configurations, it may return an incorrect result. Some configurations for which the function might return a correct result are:
  • A planar face that fully intersects another face in a single curve, when the other face is planar or cylindrical.
  • A cylindrical face that fully intersects another face in a single curve, when the other face is planar.
Syntax
public FaceIntersectionFaceResult Intersect(
	Face face,
	out Curve result
)
Parameters
Parameter Type Description
face Face The specified face to intersect with this face.
result Curve A single Curve representing the intersection.
Exceptions
Exception Condition
ArgumentNullException The face is.
InvalidOperationException The intersection calculation fails.