ArcGISProximityResult

Namespace: Esri::GameEngine::Geometry
Class: Esri/GameEngine/Geometry/ArcGISProximityResult
Since: 1.0.0

Summary

The returned results of calling ArcGISGeometryEngine::NearestCoordinate and ArcGISGeometryEngine::NearestVertex.

Properties

PropertyTypeNullableReadonlySummary
No
Yes

The point found.

No
Yes

The result distance.

No
Yes

The index of the part in which the point was found.

No
Yes

The index of the point that was found within its part.

Coordinate

ArcGISPoint GetCoordinate() const

The point found.

Distance

double GetDistance() const

The result distance.

PartIndex

size_t GetPartIndex() const

The index of the part in which the point was found.

Returned index value should be checked against ProximityResult.npos for validity.

PointIndex

size_t GetPointIndex() const

The index of the point that was found within its part.

Returned index value should be checked against ProximityResult.npos for validity.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.