|
JTS Topology Suite version 1.12 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.vividsolutions.jts.algorithm.distance.DistanceToPoint
public class DistanceToPoint
Computes the Euclidean distance (L2 metric) from a Point to a Geometry. Also computes two points which are separated by the distance.
| Constructor Summary | |
|---|---|
DistanceToPoint()
|
|
| Method Summary | |
|---|---|
static void |
computeDistance(Geometry geom,
Coordinate pt,
PointPairDistance ptDist)
|
static void |
computeDistance(LineSegment segment,
Coordinate pt,
PointPairDistance ptDist)
|
static void |
computeDistance(LineString line,
Coordinate pt,
PointPairDistance ptDist)
|
static void |
computeDistance(Polygon poly,
Coordinate pt,
PointPairDistance ptDist)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DistanceToPoint()
| Method Detail |
|---|
public static void computeDistance(Geometry geom,
Coordinate pt,
PointPairDistance ptDist)
public static void computeDistance(LineString line,
Coordinate pt,
PointPairDistance ptDist)
public static void computeDistance(LineSegment segment,
Coordinate pt,
PointPairDistance ptDist)
public static void computeDistance(Polygon poly,
Coordinate pt,
PointPairDistance ptDist)
|
JTS Topology Suite version 1.12 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||