Class Geometry

java.lang.Object
org.hipparchus.geometry.Geometry

public class Geometry extends Object
Utilities for geometry.
Since:
4.0
  • Method Details Link icon

    • barycenter Link icon

      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