public class Geometry
extends Object
Utilities for geometry.
- Since:
- 4.0
-
Method Summary 
Compute the barycenter of n points.
Methods inherited from class java.lang.Object 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details 
-
barycenter 
public static <S extends Space,
P extends Point<S,
P>>
P barycenter(List<P> points)
Compute the barycenter of n points.
- Type Parameters:
S
- Type of the space.
P
- Type of the points in space.
- Parameters:
points
- points generating the barycenter
- Returns:
- barycenter of the points