Table of Contents

Class NearestGeometryVertex

Namespace
Honua.Sdk.Geometry
Assembly
Honua.Sdk.Geometry.dll

Nearest vertex result for a geometry in planar analysis coordinates.

public sealed record NearestGeometryVertex : IEquatable<NearestGeometryVertex>
Inheritance
NearestGeometryVertex
Implements
Inherited Members

Properties

CoordinateIndex

Gets the zero-based coordinate index in the analyzed geometry coordinate sequence.

public int CoordinateIndex { get; init; }

Property Value

int

Distance

Gets the planar distance from the vertex to the target geometry.

public double Distance { get; init; }

Property Value

double

Vertex

Gets the nearest vertex as a point.

public required Point Vertex { get; init; }

Property Value

Point