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.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close