Table of Contents

Method Locate

Namespace
GeometryHelper.Spatial
Assembly
GeometryHelper.dll

Locate(GeoPoint3)

Locates a point, using the default tolerance.

public PointLocation Locate(GeoPoint3 point)

Parameters

point GeoPoint3

Returns

PointLocation

Locate(GeoPoint3, Tolerance)

Locates a point: inside the material, on where it ends, or outside it, within a tolerance.

public PointLocation Locate(GeoPoint3 point, Tolerance tolerance)

Parameters

point GeoPoint3
tolerance Tolerance

Returns

PointLocation

Remarks

A ray is cast through the index and its crossings counted, as Containment3 counts them face by face. A crossing landing near the rim of its triangle may be a seam of the mesh — an edge or a corner the index names once per triangle — or the face beyond an edge the ray leaves past at a shallow angle, and the ray is cast again in another direction; should every direction land so, the body's own test decides.

However small the tolerance, a triangle holds a crossing to the rounding of the body's coordinates, 1E-15 of the largest, on its plane and past its rim, and the rim is read as wide as twice that at least. At a tolerance of nought the prepared cylinder 40 across and 50 tall, its axis leaning in space, reads every one of 1 000 points inside it as inside and one 1.6 outside its side as outside, where the rounding refused the crossing of nearly every face and it read 111 of those points inside and the one outside inside.