public class TLcdAIXM51AirspaceVolume extends TLcdAIXM51AbstractAIXMObject implements ILcdEditableExtrudedShape
ILcdExtrudedShape
interface.Modifier and Type | Field and Description |
---|---|
static TLcdDataProperty |
ANNOTATION_PROPERTY
Data property that maps to the
annotation element. |
static TLcdDataProperty |
CENTRELINE_PROPERTY
Data property that maps to the
centreline element. |
static TLcdDataProperty |
CONTRIBUTOR_AIRSPACE_PROPERTY
Data property that maps to the
contributorAirspace element. |
static TLcdDataProperty |
EXTENSION_PROPERTY
Data property that maps to the
extension element. |
static TLcdDataProperty |
HORIZONTAL_PROJECTION_PROPERTY
Data property that maps to the
horizontalProjection element. |
static TLcdDataProperty |
LOWER_LIMIT_PROPERTY
Data property that maps to the
lowerLimit element. |
static TLcdDataProperty |
LOWER_LIMIT_REFERENCE_PROPERTY
Data property that maps to the
lowerLimitReference element. |
static TLcdDataProperty |
MAXIMUM_LIMIT_PROPERTY
Data property that maps to the
maximumLimit element. |
static TLcdDataProperty |
MAXIMUM_LIMIT_REFERENCE_PROPERTY
Data property that maps to the
maximumLimitReference element. |
static TLcdDataProperty |
MINIMUM_LIMIT_PROPERTY
Data property that maps to the
minimumLimit element. |
static TLcdDataProperty |
MINIMUM_LIMIT_REFERENCE_PROPERTY
Data property that maps to the
minimumLimitReference element. |
static TLcdDataProperty |
UPPER_LIMIT_PROPERTY
Data property that maps to the
upperLimit element. |
static TLcdDataProperty |
UPPER_LIMIT_REFERENCE_PROPERTY
Data property that maps to the
upperLimitReference element. |
static TLcdDataProperty |
WIDTH_PROPERTY
Data property that maps to the
width element. |
DESCRIPTION_PROPERTY, DESCRIPTION_REFERENCE_PROPERTY, ID_PROPERTY, IDENTIFIER_PROPERTY, META_DATA_PROPERTY_PROPERTY, NAME_PROPERTY
Constructor and Description |
---|
TLcdAIXM51AirspaceVolume()
Constructs a new instance of the
TLcdAIXM51DataTypes.AirspaceVolumeType type. |
TLcdAIXM51AirspaceVolume(TLcdDataType aType)
Constructs a new instance for the given type.
|
Modifier and Type | Method and Description |
---|---|
boolean |
contains2D(double v,
double v1)
Checks whether this
ILcdShape contains the given point in
the 2D space. |
boolean |
contains2D(ILcdPoint aILcdPoint)
Checks whether this
ILcdShape contains the given ILcdPoint in the 2D space. |
boolean |
contains3D(double aX,
double aY,
double aZ)
Checks whether this
ILcdShape contains the given point in
the 3D space. |
boolean |
contains3D(ILcdPoint aPoint)
Checks whether this
ILcdShape contains the given ILcdPoint in the 3D space. |
List<TLcdAIXM51Note> |
getAnnotation()
Gets the value of the
ANNOTATION_PROPERTY property adapted to a list of TLcdAIXM51Note instances. |
ILcdShape |
getBaseShape()
Returns the base shape of the extruded volume, which is the horizontal projection of the airspace
volume.
|
ILcdBounds |
getBounds()
Returns the
ILcdBounds by which the geometry of this ILcdBounded object
is bounded. |
TLcdAIXM51Curve |
getCentreline()
Returns the role value contained in the value of the
CENTRELINE_PROPERTY property. |
TLcdAIXM51AirspaceVolumeDependency |
getContributorAirspace()
Returns the role value contained in the value of the
CONTRIBUTOR_AIRSPACE_PROPERTY property. |
List<TLcdAIXM51AbstractExtension> |
getExtension()
Gets the value of the
EXTENSION_PROPERTY property adapted to a list of TLcdAIXM51AbstractExtension instances. |
ILcdPoint |
getFocusPoint()
Returns the focus point of this
ILcdShape . |
TLcdAIXM51Surface |
getHorizontalProjection()
Returns the role value contained in the value of the
HORIZONTAL_PROJECTION_PROPERTY property. |
TLcdAIXM51ValDistanceVertical |
getLowerLimit()
Returns the value of the property that maps to the
lowerLimit element. |
TLcdAIXM51CodeVerticalReference |
getLowerLimitReference()
Returns the role value contained in the value of the
LOWER_LIMIT_REFERENCE_PROPERTY property. |
TLcdAIXM51ValDistanceVertical |
getMaximumLimit()
Returns the value of the property that maps to the
maximumLimit element. |
TLcdAIXM51CodeVerticalReference |
getMaximumLimitReference()
Returns the role value contained in the value of the
MAXIMUM_LIMIT_REFERENCE_PROPERTY property. |
double |
getMaximumZ()
Returns the maximum Z value of the extruded shape.
|
TLcdAIXM51ValDistanceVertical |
getMinimumLimit()
Returns the value of the property that maps to the
minimumLimit element. |
TLcdAIXM51CodeVerticalReference |
getMinimumLimitReference()
Returns the role value contained in the value of the
MINIMUM_LIMIT_REFERENCE_PROPERTY property. |
double |
getMinimumZ()
Returns the minimum Z value of the extruded shape.
|
TLcdAIXM51ValDistanceVertical |
getUpperLimit()
Returns the value of the property that maps to the
upperLimit element. |
TLcdAIXM51CodeVerticalReference |
getUpperLimitReference()
Returns the role value contained in the value of the
UPPER_LIMIT_REFERENCE_PROPERTY property. |
TLcdAIXM51ValDistance |
getWidth()
Returns the value of the property that maps to the
width element. |
void |
setBaseShape(ILcdShape aBaseShape)
Sets the base shape that is extruded.
|
void |
setCentreline(TLcdAIXM51Curve aValue)
Sets the value of the property that maps to the
centreline element. |
void |
setContributorAirspace(TLcdAIXM51AirspaceVolumeDependency aValue)
Sets the value of the property that maps to the
contributorAirspace element. |
void |
setHorizontalProjection(TLcdAIXM51Surface aValue)
Sets the value of the property that maps to the
horizontalProjection element. |
void |
setLowerLimit(TLcdAIXM51ValDistanceVertical aValue)
Sets the value of the property that maps to the
lowerLimit element. |
void |
setLowerLimitReference(TLcdAIXM51CodeVerticalReference aValue)
Sets the value of the property that maps to the
lowerLimitReference element. |
void |
setMaximumLimit(TLcdAIXM51ValDistanceVertical aValue)
Sets the value of the property that maps to the
maximumLimit element. |
void |
setMaximumLimitReference(TLcdAIXM51CodeVerticalReference aValue)
Sets the value of the property that maps to the
maximumLimitReference element. |
void |
setMaximumZ(double aMaximumZ)
Sets the maximum Z value.
|
void |
setMinimumLimit(TLcdAIXM51ValDistanceVertical aValue)
Sets the value of the property that maps to the
minimumLimit element. |
void |
setMinimumLimitReference(TLcdAIXM51CodeVerticalReference aValue)
Sets the value of the property that maps to the
minimumLimitReference element. |
void |
setMinimumZ(double aMinimumZ)
Sets the minimum Z value.
|
void |
setUpperLimit(TLcdAIXM51ValDistanceVertical aValue)
Sets the value of the property that maps to the
upperLimit element. |
void |
setUpperLimitReference(TLcdAIXM51CodeVerticalReference aValue)
Sets the value of the property that maps to the
upperLimitReference element. |
void |
setValue(TLcdDataProperty aProperty,
Object aValue)
Sets the value of the given property for this data object.
|
void |
setWidth(TLcdAIXM51ValDistance aValue)
Sets the value of the property that maps to the
width element. |
getDescription, getDescriptionReference, getId, getIdentifier, getMetaDataProperty, getName, setDescription, setDescriptionReference, setId, setIdentifier
clone, clone, getDataType, getValue, getValue, hasValue, hasValue, setValue, toString
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clone
public static final TLcdDataProperty UPPER_LIMIT_PROPERTY
upperLimit
element.
The possible values for this property are instances of TLcdAIXM51ValDistanceVertical
.public static final TLcdDataProperty UPPER_LIMIT_REFERENCE_PROPERTY
upperLimitReference
element.
The possible values for this property are instances of TLcdAIXM51Optional<TLcdAIXM51CodeVerticalReference>
.public static final TLcdDataProperty MAXIMUM_LIMIT_PROPERTY
maximumLimit
element.
The possible values for this property are instances of TLcdAIXM51ValDistanceVertical
.public static final TLcdDataProperty MAXIMUM_LIMIT_REFERENCE_PROPERTY
maximumLimitReference
element.
The possible values for this property are instances of TLcdAIXM51Optional<TLcdAIXM51CodeVerticalReference>
.public static final TLcdDataProperty LOWER_LIMIT_PROPERTY
lowerLimit
element.
The possible values for this property are instances of TLcdAIXM51ValDistanceVertical
.public static final TLcdDataProperty LOWER_LIMIT_REFERENCE_PROPERTY
lowerLimitReference
element.
The possible values for this property are instances of TLcdAIXM51Optional<TLcdAIXM51CodeVerticalReference>
.public static final TLcdDataProperty MINIMUM_LIMIT_PROPERTY
minimumLimit
element.
The possible values for this property are instances of TLcdAIXM51ValDistanceVertical
.public static final TLcdDataProperty MINIMUM_LIMIT_REFERENCE_PROPERTY
minimumLimitReference
element.
The possible values for this property are instances of TLcdAIXM51Optional<TLcdAIXM51CodeVerticalReference>
.public static final TLcdDataProperty WIDTH_PROPERTY
width
element.
The possible values for this property are instances of TLcdAIXM51ValDistance
.public static final TLcdDataProperty HORIZONTAL_PROJECTION_PROPERTY
horizontalProjection
element.
The possible values for this property are instances of TLcdAIXM51Property<TLcdAIXM51Surface>
.public static final TLcdDataProperty CENTRELINE_PROPERTY
centreline
element.
The possible values for this property are instances of TLcdAIXM51Property<TLcdAIXM51Curve>
.public static final TLcdDataProperty CONTRIBUTOR_AIRSPACE_PROPERTY
contributorAirspace
element.
The possible values for this property are instances of TLcdAIXM51Property<TLcdAIXM51AirspaceVolumeDependency>
.public static final TLcdDataProperty ANNOTATION_PROPERTY
annotation
element.
The possible values for this property are instances of List<TLcdAIXM51Property<TLcdAIXM51Note>>
.public static final TLcdDataProperty EXTENSION_PROPERTY
extension
element.
The possible values for this property are instances of List<TLcdAIXM51Link<TLcdAIXM51AbstractExtension>>
.public TLcdAIXM51AirspaceVolume()
TLcdAIXM51DataTypes.AirspaceVolumeType
type.public TLcdAIXM51AirspaceVolume(TLcdDataType aType)
AirspaceVolume
.aType
- the type for which to construct a new instancepublic ILcdShape getBaseShape()
getBaseShape
in interface ILcdExtrudedShape
public void setValue(TLcdDataProperty aProperty, Object aValue)
ILcdDataObject
Sets the value of the given property for this data object. The implementation is allowed to throw an exception if the given value can't be set.
The given property must be declared in thedata object's type
or in one of its super types. In
other words, getDataType().getProperties().contains( aProperty ) should always be true.
Otherwise, the implementation should throw an IllegalArgumentException
.setValue
in interface ILcdDataObject
setValue
in class TLcdDataObject
aProperty
- the property for which the value is to be setaValue
- the value to setTLcdDataType.getProperty(String)
public double getMinimumZ()
The value is converted to metres before being returned.
getMinimumZ
in interface ILcdExtrudedShape
public double getMaximumZ()
The value is converted to metres before being returned.
getMaximumZ
in interface ILcdExtrudedShape
public ILcdPoint getFocusPoint()
ILcdShape
ILcdShape
.getFocusPoint
in interface ILcdShape
ILcdShape
.public boolean contains2D(ILcdPoint aILcdPoint)
ILcdShape
ILcdShape
contains the given ILcdPoint
in the 2D space.
Only the first two dimensions of the ILcdShape
and the ILcdPoint
are considered.contains2D
in interface ILcdShape
aILcdPoint
- the ILcdPoint
to test.ILcdShape.contains2D(double, double)
public boolean contains2D(double v, double v1)
ILcdShape
ILcdShape
contains the given point in
the 2D space. Only the first two dimensions of the ILcdShape
are considered.contains2D
in interface ILcdShape
v
- the x coordinate of the point.v1
- the y coordinate of the point.public boolean contains3D(ILcdPoint aPoint)
ILcdShape
ILcdShape
contains the given ILcdPoint
in the 3D space.contains3D
in interface ILcdShape
aPoint
- the ILcdPoint
to test.ILcdShape.contains3D(double, double, double)
public boolean contains3D(double aX, double aY, double aZ)
ILcdShape
ILcdShape
contains the given point in
the 3D space.contains3D
in interface ILcdShape
aX
- the x coordinate of the point.aY
- the y coordinate of the point.aZ
- the z coordinate of the point.public ILcdBounds getBounds()
ILcdBounded
ILcdBounds
by which the geometry of this ILcdBounded
object
is bounded.
If the geometry does not allow retrieving valid bounds (for example a polyline with 0 points)
the return value is unspecified.
It is highly recommended to return an undefined
bounds.
You can create undefined bounds using the default constructors
of TLcdLonLatBounds
or TLcdXYBounds
.
getBounds
in interface ILcdBounded
ILcdBounds
by which the geometry of this ILcdBounded
object
is bounded.public void setBaseShape(ILcdShape aBaseShape)
ILcdEditableExtrudedShape
setBaseShape
in interface ILcdEditableExtrudedShape
aBaseShape
- the base shape that is extruded.public void setMinimumZ(double aMinimumZ)
ILcdEditableExtrudedShape
setMinimumZ
in interface ILcdEditableExtrudedShape
aMinimumZ
- the minimum Z value.public void setMaximumZ(double aMaximumZ)
ILcdEditableExtrudedShape
setMaximumZ
in interface ILcdEditableExtrudedShape
aMaximumZ
- the maximum Z value.public TLcdAIXM51ValDistanceVertical getUpperLimit()
upperLimit
element.
The vertical position of the airspace ceiling.
UPPER_LIMIT_PROPERTY
property.public void setUpperLimit(TLcdAIXM51ValDistanceVertical aValue)
upperLimit
element.
The vertical position of the airspace ceiling.
aValue
- the value to set for the UPPER_LIMIT_PROPERTY
property.public TLcdAIXM51CodeVerticalReference getUpperLimitReference()
UPPER_LIMIT_REFERENCE_PROPERTY
property. Returns null
if the value of the UPPER_LIMIT_REFERENCE_PROPERTY
property is null
.
The reference surface used for the value of the upper limit. For example, Mean Sea Level, Ground, standard pressure, etc..
UPPER_LIMIT_REFERENCE_PROPERTY
property.TLcdAIXM51Optional
public void setUpperLimitReference(TLcdAIXM51CodeVerticalReference aValue)
upperLimitReference
element. to a new instance of the association class TLcdAIXM51Optional
initialized with the given role value. In case the given role value is null
, the UPPER_LIMIT_REFERENCE_PROPERTY
property is set to null
.
The reference surface used for the value of the upper limit. For example, Mean Sea Level, Ground, standard pressure, etc..
aValue
- the role value to set for the UPPER_LIMIT_REFERENCE_PROPERTY
property.public TLcdAIXM51ValDistanceVertical getMaximumLimit()
maximumLimit
element.
When specified, the maximum limit overrides the upper limit, in those parts of the airspace where the upper limit is situated below the maximum limit.
MAXIMUM_LIMIT_PROPERTY
property.public void setMaximumLimit(TLcdAIXM51ValDistanceVertical aValue)
maximumLimit
element.
When specified, the maximum limit overrides the upper limit, in those parts of the airspace where the upper limit is situated below the maximum limit.
aValue
- the value to set for the MAXIMUM_LIMIT_PROPERTY
property.public TLcdAIXM51CodeVerticalReference getMaximumLimitReference()
MAXIMUM_LIMIT_REFERENCE_PROPERTY
property. Returns null
if the value of the MAXIMUM_LIMIT_REFERENCE_PROPERTY
property is null
.
The reference surface used for the value of the maximum limit. For example, Mean Sea Level, Ground, standard pressure, etc..
MAXIMUM_LIMIT_REFERENCE_PROPERTY
property.TLcdAIXM51Optional
public void setMaximumLimitReference(TLcdAIXM51CodeVerticalReference aValue)
maximumLimitReference
element. to a new instance of the association class TLcdAIXM51Optional
initialized with the given role value. In case the given role value is null
, the MAXIMUM_LIMIT_REFERENCE_PROPERTY
property is set to null
.
The reference surface used for the value of the maximum limit. For example, Mean Sea Level, Ground, standard pressure, etc..
aValue
- the role value to set for the MAXIMUM_LIMIT_REFERENCE_PROPERTY
property.public TLcdAIXM51ValDistanceVertical getLowerLimit()
lowerLimit
element.
The vertical position of the airspace floor.
LOWER_LIMIT_PROPERTY
property.public void setLowerLimit(TLcdAIXM51ValDistanceVertical aValue)
lowerLimit
element.
The vertical position of the airspace floor.
aValue
- the value to set for the LOWER_LIMIT_PROPERTY
property.public TLcdAIXM51CodeVerticalReference getLowerLimitReference()
LOWER_LIMIT_REFERENCE_PROPERTY
property. Returns null
if the value of the LOWER_LIMIT_REFERENCE_PROPERTY
property is null
.
The reference surface used for the value of the lower limit. For example, Mean Sea Level, Ground, standard pressure, etc..
LOWER_LIMIT_REFERENCE_PROPERTY
property.TLcdAIXM51Optional
public void setLowerLimitReference(TLcdAIXM51CodeVerticalReference aValue)
lowerLimitReference
element. to a new instance of the association class TLcdAIXM51Optional
initialized with the given role value. In case the given role value is null
, the LOWER_LIMIT_REFERENCE_PROPERTY
property is set to null
.
The reference surface used for the value of the lower limit. For example, Mean Sea Level, Ground, standard pressure, etc..
aValue
- the role value to set for the LOWER_LIMIT_REFERENCE_PROPERTY
property.public TLcdAIXM51ValDistanceVertical getMinimumLimit()
minimumLimit
element.
When specified, the minimum limit overrides the lower limit, in those parts of the airspace where the lower limit is situated below the minimum limit. For example, an airspace that has "Upper FL 245, Lower 11 500 FT MSL but at least 2 000 FT GND'.
MINIMUM_LIMIT_PROPERTY
property.public void setMinimumLimit(TLcdAIXM51ValDistanceVertical aValue)
minimumLimit
element.
When specified, the minimum limit overrides the lower limit, in those parts of the airspace where the lower limit is situated below the minimum limit. For example, an airspace that has "Upper FL 245, Lower 11 500 FT MSL but at least 2 000 FT GND'.
aValue
- the value to set for the MINIMUM_LIMIT_PROPERTY
property.public TLcdAIXM51CodeVerticalReference getMinimumLimitReference()
MINIMUM_LIMIT_REFERENCE_PROPERTY
property. Returns null
if the value of the MINIMUM_LIMIT_REFERENCE_PROPERTY
property is null
.
The reference surface used for the value of the minimum limit. For example, Mean Sea Level, Ground, standard pressure, etc.
MINIMUM_LIMIT_REFERENCE_PROPERTY
property.TLcdAIXM51Optional
public void setMinimumLimitReference(TLcdAIXM51CodeVerticalReference aValue)
minimumLimitReference
element. to a new instance of the association class TLcdAIXM51Optional
initialized with the given role value. In case the given role value is null
, the MINIMUM_LIMIT_REFERENCE_PROPERTY
property is set to null
.
The reference surface used for the value of the minimum limit. For example, Mean Sea Level, Ground, standard pressure, etc.
aValue
- the role value to set for the MINIMUM_LIMIT_REFERENCE_PROPERTY
property.public TLcdAIXM51ValDistance getWidth()
width
element.
The width of the corridor, in case the AirspaceVolume has been originally defined as having a corridor shape.
WIDTH_PROPERTY
property.public void setWidth(TLcdAIXM51ValDistance aValue)
width
element.
The width of the corridor, in case the AirspaceVolume has been originally defined as having a corridor shape.
aValue
- the value to set for the WIDTH_PROPERTY
property.public TLcdAIXM51Surface getHorizontalProjection()
HORIZONTAL_PROJECTION_PROPERTY
property. Returns null
if the value of the HORIZONTAL_PROJECTION_PROPERTY
property is null
.
The surface defining the horizontal shape of the AirspaceVolume.
HORIZONTAL_PROJECTION_PROPERTY
property.TLcdAIXM51Property
public void setHorizontalProjection(TLcdAIXM51Surface aValue)
horizontalProjection
element. to a new instance of the association class TLcdAIXM51Property
initialized with the given role value. In case the given role value is null
, the HORIZONTAL_PROJECTION_PROPERTY
property is set to null
.
The surface defining the horizontal shape of the AirspaceVolume.
aValue
- the role value to set for the HORIZONTAL_PROJECTION_PROPERTY
property.public TLcdAIXM51Curve getCentreline()
CENTRELINE_PROPERTY
property. Returns null
if the value of the CENTRELINE_PROPERTY
property is null
.
The centerline of an AirspaceVolume, in case the AirspaceVolume has been originally defined as having a corridor shape.
CENTRELINE_PROPERTY
property.TLcdAIXM51Property
public void setCentreline(TLcdAIXM51Curve aValue)
centreline
element. to a new instance of the association class TLcdAIXM51Property
initialized with the given role value. In case the given role value is null
, the CENTRELINE_PROPERTY
property is set to null
.
The centerline of an AirspaceVolume, in case the AirspaceVolume has been originally defined as having a corridor shape.
aValue
- the role value to set for the CENTRELINE_PROPERTY
property.public TLcdAIXM51AirspaceVolumeDependency getContributorAirspace()
CONTRIBUTOR_AIRSPACE_PROPERTY
property. Returns null
if the value of the CONTRIBUTOR_AIRSPACE_PROPERTY
property is null
.
A (parent) Airspace, whose geometry has an impact on the geometry of the AirspaceVolume.
CONTRIBUTOR_AIRSPACE_PROPERTY
property.TLcdAIXM51Property
public void setContributorAirspace(TLcdAIXM51AirspaceVolumeDependency aValue)
contributorAirspace
element. to a new instance of the association class TLcdAIXM51Property
initialized with the given role value. In case the given role value is null
, the CONTRIBUTOR_AIRSPACE_PROPERTY
property is set to null
.
A (parent) Airspace, whose geometry has an impact on the geometry of the AirspaceVolume.
aValue
- the role value to set for the CONTRIBUTOR_AIRSPACE_PROPERTY
property.public List<TLcdAIXM51Note> getAnnotation()
ANNOTATION_PROPERTY
property adapted to a list of TLcdAIXM51Note
instances.ANNOTATION_PROPERTY
property adapted to a list of TLcdAIXM51Note
instances.TLcdAIXM51Property
public List<TLcdAIXM51AbstractExtension> getExtension()
EXTENSION_PROPERTY
property adapted to a list of TLcdAIXM51AbstractExtension
instances.EXTENSION_PROPERTY
property adapted to a list of TLcdAIXM51AbstractExtension
instances.TLcdAIXM51Link