Computes the spatial intersection of two objects.
Namespace:
ceometric.VectorGeometryAssembly: ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.6.0.0 (1.6.0.0)
Syntax
| C# |
|---|
public Edge Intersect3d( Triangle triangle ) |
| Visual Basic (Declaration) |
|---|
Public Function Intersect3d ( _ triangle As Triangle _ ) As Edge |
| Visual C++ |
|---|
public: Edge^ Intersect3d( Triangle^ triangle ) |
Parameters
- triangle
- Type: ceometric.VectorGeometry..::.Triangle
A triangle.
Return Value
Returns- the intersection edge of the ellipse and triangle if the ellipse intersects triangle
- null if the ellipse does not intersect triangle. In particular, it returns
- null if the ellipse is coplanar or parallel to triangle
Remarks
The intersection edge has zero length if triangle touches the ellipse in one point.
Use Intersect2d(Line) for coplanar intersection.