| Revit 2017 API |
| Face..::..Intersect Method (Face) |
| Face Class See Also |
Calculates the intersection of the specified face with this face and returns the intersection results.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 17.0.0.0 (17.0.484.0)
Syntax
| C# |
|---|
public FaceIntersectionFaceResult Intersect( Face face ) |
| Visual Basic |
|---|
Public Function Intersect ( _ face As Face _ ) As FaceIntersectionFaceResult |
| Visual C++ |
|---|
public: FaceIntersectionFaceResult Intersect( Face^ face ) |
Parameters
- face
- Type: Autodesk.Revit.DB..::..Face
The specified face to intersect with this face.
Return Value
- FaceIntersectionFaceResult.Intersecting - One or more intersections were encountered.
- SetComparisonResult.NonIntersecting - There is no intersection found.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentNullException | The face is nullNothingnullptra null reference (Nothing in Visual Basic). |
| Autodesk.Revit.Exceptions..::..InvalidOperationException | The intersection calculation fails. |