public class BasicAirspaceControlPoint extends java.lang.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(java.lang.Object o) |
Airspace |
getAirspace() |
int |
getAltitudeIndex() |
AirspaceEditor |
getEditor() |
java.lang.Object |
getKey() |
int |
getLocationIndex() |
Vec4 |
getPoint() |
int |
hashCode() |
static java.lang.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 boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public Airspace getAirspace()
getAirspace
in interface AirspaceControlPoint
public int getAltitudeIndex()
getAltitudeIndex
in interface AirspaceControlPoint
public AirspaceEditor getEditor()
getEditor
in interface AirspaceControlPoint
public java.lang.Object getKey()
getKey
in interface AirspaceControlPoint
public int getLocationIndex()
getLocationIndex
in interface AirspaceControlPoint
public Vec4 getPoint()
getPoint
in interface AirspaceControlPoint
public int hashCode()
hashCode
in class java.lang.Object
public static java.lang.Object keyFor(int locationIndex, int altitudeIndex)