Method GetSide
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
GetSide(GeoPoint2)
Says which side of this line a point lies on, using the default tolerance.
public LineSide GetSide(GeoPoint2 point)
Parameters
pointGeoPoint2
Returns
GetSide(GeoPoint2, Tolerance)
Says which side of this line a point lies on, seen looking along its direction, within a tolerance.
public LineSide GetSide(GeoPoint2 point, Tolerance tolerance)
Parameters
pointGeoPoint2The point.
toleranceToleranceThe tolerance: a point within EqualPoint of the line counts as on it.
Returns
- LineSide
Left,RightorOn.
Remarks
Looking along X, the point (5, 3) is to the left of the line through the origin and the point (5, -3) to the right.