public class BasicAirspaceControlPoint extends Object implements AirspaceControlPoint
Modifier and Type | Class and Description |
---|---|
static class |
BasicAirspaceControlPoint.BasicControlPointKey |
Constructor and Description |
---|
BasicAirspaceControlPoint(AirspaceEditor editor,
Airspace airspace,
int locationIndex,
int altitudeIndex,
Vec4 point) |
BasicAirspaceControlPoint(AirspaceEditor editor,
Airspace airspace,
Vec4 point) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Airspace |
getAirspace() |
int |
getAltitudeIndex() |
AirspaceEditor |
getEditor() |
Object |
getKey() |
int |
getLocationIndex() |
Vec4 |
getPoint() |
int |
hashCode() |
static Object |
keyFor(int locationIndex,
int altitudeIndex) |
public BasicAirspaceControlPoint(AirspaceEditor editor, Airspace airspace, int locationIndex, int altitudeIndex, Vec4 point)
public BasicAirspaceControlPoint(AirspaceEditor editor, Airspace airspace, Vec4 point)
public Airspace getAirspace()
getAirspace
in interface AirspaceControlPoint
public int getAltitudeIndex()
getAltitudeIndex
in interface AirspaceControlPoint
public AirspaceEditor getEditor()
getEditor
in interface AirspaceControlPoint
public Object getKey()
getKey
in interface AirspaceControlPoint
public int getLocationIndex()
getLocationIndex
in interface AirspaceControlPoint
public Vec4 getPoint()
getPoint
in interface AirspaceControlPoint
public static Object keyFor(int locationIndex, int altitudeIndex)