public class CartesianCoordinateSystem2D extends CoordinateSystem<C2D>
A Cartesian coordinate system is a coordinate system which gives the position of points relative to orthogonal straight axes. All axes shall have the same unit of measure.
Created by Karel Maesen, Geovise BVBA on 28/11/14.| Modifier and Type | Field and Description |
|---|---|
private static java.util.List<java.lang.Integer> |
REQUIRED_AXIS_NORMAL_ORDER |
| Constructor and Description |
|---|
CartesianCoordinateSystem2D(StraightLineAxis first,
StraightLineAxis second)
Constructs an instance
|
| Modifier and Type | Method and Description |
|---|---|
private void |
checkAxes() |
CoordinateSystem<? extends C2D> |
extend(CoordinateSystemAxis axis)
Create a new coordinate system with the axes of this system plus the specified axis
|
java.lang.Class<C2D> |
getPositionClass() |
CoordinateSystem<? extends C2D> |
merge(OneDimensionCoordinateSystem<?> coordinateSystem)
Create a coordinate system that merges this instance with the specified system
|
equals, getAxes, getAxis, getAxisDirections, getAxisForComponentIndex, getAxisIndex, getAxisNormalOrder, getAxisUnit, getCoordinateDimension, hashCodeprivate static final java.util.List<java.lang.Integer> REQUIRED_AXIS_NORMAL_ORDER
public CartesianCoordinateSystem2D(StraightLineAxis first, StraightLineAxis second)
first - the first axissecond - the second axisprivate void checkAxes()
public java.lang.Class<C2D> getPositionClass()
getPositionClass in class CoordinateSystem<C2D>public CoordinateSystem<? extends C2D> merge(OneDimensionCoordinateSystem<?> coordinateSystem)
CoordinateSystemmerge in class CoordinateSystem<C2D>coordinateSystem - the system to merge withCoordinateSystempublic CoordinateSystem<? extends C2D> extend(CoordinateSystemAxis axis)
CoordinateSystemextend in class CoordinateSystem<C2D>axis - the additional axisCoordinateSystem