DistanceToPoint class

Computes the Euclidean distance (L2 metric) from a {@link Coordinate} to a {@link Geometry}. Also computes two points on the geometry which are separated by the distance found.

Constructors

DistanceToPoint()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

computeDistance(Geometry geom, Coordinate pt, PointPairDistance ptDist) → void
computeDistanceL(LineString line, Coordinate pt, PointPairDistance ptDist) → void
computeDistanceLS(LineSegment segment, Coordinate pt, PointPairDistance ptDist) → void
computeDistanceP(Polygon poly, Coordinate pt, PointPairDistance ptDist) → void