An exact arithmetic 2d edge intersection test.
Namespace:
ceometric.ComputationalGeometry
Assembly:
ceometric.ComputationalGeometry (in ceometric.ComputationalGeometry.dll) Version: 2.4.0.0 (2.4.0.0)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function IntersectsExact ( _
e1 As Edge, _
e2 As Edge _
) As Double |
Return Value
- 2 if the edges intersect in a vertex (share a vertex).
- 1 if the edges intersect.
- 0 if one edge touches the other with its start or end vertex.
- -1 if the edges do not intersect.
-
NaN if the edges are collinear.
See Also