Deprecated
As of 3.2 (to be removed in 4.0),
use org. instead
| Modifier and Type | Method and Description |
|---|---|
| public T | Returns: the centroid of the given Collection of Pointsthe Collection of points to compute the centroid of p)Returns the centroid of the given Collection of points. |
| public double | Returns: the distance from the given pointthe point to compute the distance from p)Returns the distance from the given point. |
| centroidOf | back to summary |
|---|---|
| public T centroidOf(Collection<T> p) Returns the centroid of the given Collection of points.
| |
| distanceFrom | back to summary |
|---|---|
| public double distanceFrom(T p) Returns the distance from the given point.
| |