Table of Contents

Method Locate

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

Locate(GeoPoint3)

Says where a point lies with respect to this chain.

public PointLocation Locate(GeoPoint3 point)

Parameters

point GeoPoint3

Returns

PointLocation

Remarks

An open chain encloses nothing, even where its two ends happen to meet. 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(GeoPoint3) does.

Locate(GeoPoint3, Tolerance)

Says where a point lies with respect to this chain, within a tolerance.

public PointLocation Locate(GeoPoint3 point, Tolerance tolerance)

Parameters

point GeoPoint3

The point.

tolerance Tolerance

The tolerance that decides what counts as on it.

Returns

PointLocation

OnSide when the point is on the chain; otherwise, OutSide.