Computes the spatial intersection of two objects.
Namespace:
ceometric.VectorGeometryAssembly: ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.8.0.0 (1.8.0.0)
Syntax
C# |
---|
public Point Intersect3d( Triangle triangle ) |
Visual Basic (Declaration) |
---|
Public Function Intersect3d ( _ triangle As Triangle _ ) As Point |
Visual C++ |
---|
public: Point^ Intersect3d( Triangle^ triangle ) |
Parameters
- triangle
- Type: ceometric.VectorGeometry..::.Triangle
A triangle.
Return Value
Returns- the intersection point of the line and triangle if the line intersects triangle,
- null if the line does not intersect triangle and in particular
- null if the line is coplanar or parallel to triangle
Remarks
Use Intersect2d(Triangle) for coplanar intersection.