DistanceOp.withTerminateDistance constructor
Constructs a DistanceOp that computes the distance and nearest points between the two specified geometries. @param g0 a Geometry @param g1 a Geometry @param terminateDistance the distance on which to terminate the search
Implementation
DistanceOp.withTerminateDistance(
Geometry g0, Geometry g1, double terminateDistance) {
this.geom = []..length = 2;
geom[0] = g0;
geom[1] = g1;
this.terminateDistance = terminateDistance;
}