Method Locate
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
Locate(GeoPoint2)
Says where a point lies with respect to this line.
public PointLocation Locate(GeoPoint2 point)
Parameters
pointGeoPoint2
Returns
Remarks
A line is a curve and encloses nothing. There is no inside, so the answer is only ever OnSide or OutSide;
it is offered so that a caller holding any shape can ask the one question, and it reads the same way as
Locate(GeoPoint2) does. GetSide(GeoPoint2) says which side.
Locate(GeoPoint2, Tolerance)
Says where a point lies with respect to this line, within a tolerance.
public PointLocation Locate(GeoPoint2 point, Tolerance tolerance)
Parameters
Returns
- PointLocation
OnSidewhen the point is on the line; otherwise,OutSide.