Package org.geolatte.geom.crs
Class OneDimensionCoordinateSystem<P extends Position>
- java.lang.Object
-
- org.geolatte.geom.crs.CoordinateSystem<P>
-
- org.geolatte.geom.crs.OneDimensionCoordinateSystem<P>
-
public class OneDimensionCoordinateSystem<P extends Position> extends CoordinateSystem<P>
Created by Karel Maesen, Geovise BVBA on 29/11/14.
-
-
Constructor Summary
Constructors Constructor Description OneDimensionCoordinateSystem(StraightLineAxis axis, Class<P> posType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CoordinateSystem<?>extend(CoordinateSystemAxis axis)Create a new coordinate system with the axes of this system plus the specified axisCoordinateSystemAxisgetAxis()Returns the single axis in the coordinate system.Class<P>getPositionClass()booleanhasM()does the system have a Measure axis?booleanhasZ()Does the coordinate system have a Vertical or Z axis?CoordinateSystem<?>merge(OneDimensionCoordinateSystem<?> coordinateSystem)Create a coordinate system that merges this instance with the specified system-
Methods inherited from class org.geolatte.geom.crs.CoordinateSystem
equals, getAxes, getAxis, getAxisDirections, getAxisForComponentIndex, getAxisIndex, getAxisNormalOrder, getAxisUnit, getCoordinateDimension, hashCode
-
-
-
-
Constructor Detail
-
OneDimensionCoordinateSystem
public OneDimensionCoordinateSystem(StraightLineAxis axis, Class<P> posType)
-
-
Method Detail
-
getAxis
public CoordinateSystemAxis getAxis()
Returns the single axis in the coordinate system.- Returns:
-
getPositionClass
public Class<P> getPositionClass()
- Specified by:
getPositionClassin classCoordinateSystem<P extends Position>
-
merge
public CoordinateSystem<?> merge(OneDimensionCoordinateSystem<?> coordinateSystem)
Description copied from class:CoordinateSystemCreate a coordinate system that merges this instance with the specified system- Specified by:
mergein classCoordinateSystem<P extends Position>- Parameters:
coordinateSystem- the system to merge with- Returns:
- a new
CoordinateSystem
-
extend
public CoordinateSystem<?> extend(CoordinateSystemAxis axis)
Description copied from class:CoordinateSystemCreate a new coordinate system with the axes of this system plus the specified axis- Specified by:
extendin classCoordinateSystem<P extends Position>- Parameters:
axis- the additional axis- Returns:
- a new
CoordinateSystem
-
hasZ
public boolean hasZ()
Description copied from class:CoordinateSystemDoes the coordinate system have a Vertical or Z axis?- Specified by:
hasZin classCoordinateSystem<P extends Position>- Returns:
-
hasM
public boolean hasM()
Description copied from class:CoordinateSystemdoes the system have a Measure axis?- Specified by:
hasMin classCoordinateSystem<P extends Position>- Returns:
-
-