public class CoordinateSystem extends Object implements Identifiable
| Constructor and Description |
|---|
CoordinateSystem()
Constructor
|
CoordinateSystem(CoordinateSystemType type,
int dimension,
Axis axis)
Constructor
|
CoordinateSystem(CoordinateSystemType type,
int dimension,
List<Axis> axes)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAxes(List<Axis> axes)
Add the axes
|
void |
addAxis(Axis axis)
Add the axis
|
void |
addIdentifier(Identifier identifier)
Add the identifier
|
void |
addIdentifiers(List<Identifier> identifiers)
Add the identifiers
|
boolean |
equals(Object obj) |
List<Axis> |
getAxes()
Get the axes
|
Axis |
getAxis(int index)
Get the axis at the index
|
Unit |
getAxisUnit()
Get the axis unit, either the CS unit or first axis with unit
|
int |
getDimension()
Get the dimension
|
Identifier |
getIdentifier(int index)
Get the identifier at the index
|
List<Identifier> |
getIdentifiers()
Get the identifiers
|
CoordinateSystemType |
getType()
Get the type
|
Unit |
getUnit()
Get the unit
|
int |
hashCode() |
boolean |
hasIdentifiers()
Has identifiers
|
boolean |
hasUnit()
Has a unit
|
int |
numAxes()
Number of axes
|
int |
numIdentifiers()
Number of identifiers
|
void |
setAxes(List<Axis> axes)
Set the axes
|
void |
setDimension(int dimension)
Set the dimension
|
void |
setIdentifiers(List<Identifier> identifiers)
Set the identifiers
|
void |
setType(CoordinateSystemType type)
Set the type
|
void |
setUnit(Unit unit)
Set the unit
|
String |
toString() |
public CoordinateSystem()
public CoordinateSystem(CoordinateSystemType type, int dimension, Axis axis)
type - typedimension - dimensionaxis - axispublic CoordinateSystem(CoordinateSystemType type, int dimension, List<Axis> axes)
type - typedimension - dimensionaxes - axespublic CoordinateSystemType getType()
public void setType(CoordinateSystemType type)
type - coordinate system typepublic int getDimension()
public void setDimension(int dimension)
dimension - dimensionpublic List<Identifier> getIdentifiers()
getIdentifiers in interface Identifiablepublic boolean hasIdentifiers()
hasIdentifiers in interface Identifiablepublic int numIdentifiers()
numIdentifiers in interface Identifiablepublic Identifier getIdentifier(int index)
getIdentifier in interface Identifiableindex - identifier indexpublic void setIdentifiers(List<Identifier> identifiers)
setIdentifiers in interface Identifiableidentifiers - identifierspublic void addIdentifier(Identifier identifier)
addIdentifier in interface Identifiableidentifier - identifierpublic void addIdentifiers(List<Identifier> identifiers)
addIdentifiers in interface Identifiableidentifiers - identifierspublic int numAxes()
public Axis getAxis(int index)
index - axis indexpublic void addAxis(Axis axis)
axis - axispublic Unit getUnit()
public boolean hasUnit()
public void setUnit(Unit unit)
unit - unitpublic Unit getAxisUnit()
Copyright © 2021 National Geospatial-Intelligence Agency. All rights reserved.