Class Euclidean2D

java.lang.Object
org.hipparchus.geometry.euclidean.twod.Euclidean2D
All Implemented Interfaces:
Serializable, Space

public class Euclidean2D extends Object implements Serializable, Space
This class implements a two-dimensional space.
See Also:
  • Method Details

    • getInstance

      public static Euclidean2D getInstance()
      Get the unique instance.
      Returns:
      the unique instance
    • getDimension

      public int getDimension()
      Get the dimension of the space.
      Specified by:
      getDimension in interface Space
      Returns:
      dimension of the space
    • getSubSpace

      public Euclidean1D getSubSpace()
      Get the n-1 dimension subspace of this space.
      Specified by:
      getSubSpace in interface Space
      Returns:
      n-1 dimension sub-space of this space
      See Also: