layout: default title: NearestPointResult parent: Core Classes —

dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Objects

NearestPointResult Class

Object returned from the nearestCoordinate(), nearestVertex(), and nearestVertices() methods of
GeometryEngine.

public class NearestPointResult

Inheritance System.Object 🡒 NearestPointResult

Properties

NearestPointResult.Coordinate Property

A vertex within the specified distance of the search.

public dymaptic.GeoBlazor.Core.Components.Geometries.Point Coordinate { get; set; }

Property Value

Point

NearestPointResult.Distance Property

The distance from the inputPoint in the units of the view’s spatial reference.

public double Distance { get; set; }

Property Value

System.Double

NearestPointResult.IsEmpty Property

Indicates if it is an empty geometry.

public bool IsEmpty { get; set; }

Property Value

System.Boolean

NearestPointResult.VertexIndex Property

The index of the vertex within the geometry’s rings or paths.

public int VertexIndex { get; set; }

Property Value

System.Int32