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 int
getDimension()
Get the dimension of the space.static Euclidean2D
getInstance()
Get the unique instance.Euclidean1D
getSubSpace()
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:
getDimension
in interfaceSpace
- Returns:
- dimension of the space
-
getSubSpace
public Euclidean1D getSubSpace()
Get the n-1 dimension subspace of this space.- Specified by:
getSubSpace
in interfaceSpace
- Returns:
- n-1 dimension sub-space of this space
- See Also:
Space.getDimension()
-
-