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:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDimension()Get the dimension of the space.static Euclidean2DgetInstance()Get the unique instance.Euclidean1DgetSubSpace()Get the n-1 dimension subspace of this space.
-
-
-
Method Detail
-
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:
getDimensionin interfaceSpace- Returns:
- dimension of the space
-
getSubSpace
public Euclidean1D getSubSpace()
Get the n-1 dimension subspace of this space.- Specified by:
getSubSpacein interfaceSpace- Returns:
- n-1 dimension sub-space of this space
- See Also:
Space.getDimension()
-
-