Computes the coplanar 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 PointSet Intersect2d( Line line ) |
Visual Basic (Declaration) |
---|
Public Function Intersect2d ( _ line As Line _ ) As PointSet |
Visual C++ |
---|
public: PointSet^ Intersect2d( Line^ line ) |
Parameters
- line
- Type: ceometric.VectorGeometry..::.Line
An intersecting Line coplanar to the ellipse.
Return Value
Returns a PointSet containing the intersection points of the circumference of the ellipse and line. This point set contains- 0 intersection points if the ellipse is coplanar to line but does not intersect line
- 1 intersection point if the ellipse is coplanar to line and line is tangent to the ellipse
- 2 intersection points if the ellipse is coplanar to line and line crosses the ellipse
Returns null if the objects are not coplanar.
Remarks
Use Intersect3d(Line) for non-coplanar intersection.