Class TLcdGML32OrientableSurface
- All Implemented Interfaces:
ILcdDataObject
,ILcdBounded
,ILcdShape
,ILcdCloneable
,ILcdDeepCloneable
,Serializable
,Cloneable
- Since:
- 10.0
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TLcdDataProperty
Data property that maps to thebaseSurface
element.static final TLcdDataProperty
Data property that maps to theorientation
attribute.Fields inherited from class com.luciad.format.gml32.model.TLcdGML32AbstractGeometry
SRS_PROPERTY
Fields inherited from class com.luciad.format.gml32.model.TLcdGML32AbstractGML
DESCRIPTION_PROPERTY, DESCRIPTION_REFERENCE_PROPERTY, ID_PROPERTY, IDENTIFIER_PROPERTY, META_DATA_PROPERTY_PROPERTY, NAME_PROPERTY
-
Constructor Summary
ConstructorDescriptionTLcdGML32OrientableSurface
(TLcdDataType aDataType, ILcdModelReference aSrs) Constructs an orientable surface and initializes its model reference (srs).Constructs an orientable surface and initializes its model reference (srs). -
Method Summary
Modifier and TypeMethodDescriptionboolean
contains2D
(double v, double v1) Checks whether thisILcdShape
contains the given point in the 2D space.boolean
contains2D
(ILcdPoint aILcdPoint) Checks whether thisILcdShape
contains the givenILcdPoint
in the 2D space.boolean
contains3D
(double v, double v1, double v2) Checks whether thisILcdShape
contains the given point in the 3D space.boolean
contains3D
(ILcdPoint aILcdPoint) Checks whether thisILcdShape
contains the givenILcdPoint
in the 3D space.Returns the value of the property that maps to thebaseSurface
element.Returns theILcdBounds
by which the geometry of thisILcdBounded
object is bounded.Returns the focus point of thisILcdShape
.Returns the value of the property that maps to theorientation
attribute.void
Sets the value of the property that maps to thebaseSurface
element.void
setOrientation
(ELcdGML32Sign aValue) Sets the value of the property that maps to theorientation
attribute.Methods inherited from class com.luciad.format.gml32.model.TLcdGML32AbstractGeometry
getSrs, setSrs, toString
Methods inherited from class com.luciad.format.gml32.model.TLcdGML32AbstractGML
getDescription, getDescriptionReference, getId, getIdentifier, getMetaDataProperty, getName, setDescription, setDescriptionReference, setId, setIdentifier
Methods inherited from class com.luciad.datamodel.TLcdDataObject
clone, clone, getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.luciad.util.ILcdCloneable
clone
-
Field Details
-
ORIENTATION_PROPERTY
Data property that maps to theorientation
attribute. The possible values for this property are instances ofELcdGML32Sign
. -
BASE_SURFACE_PROPERTY
Data property that maps to thebaseSurface
element. The possible values for this property are instances ofTLcdGML32SurfaceProperty
.
-
-
Constructor Details
-
TLcdGML32OrientableSurface
public TLcdGML32OrientableSurface() -
TLcdGML32OrientableSurface
-
TLcdGML32OrientableSurface
Constructs an orientable surface and initializes its model reference (srs).- Parameters:
aSrs
- the model reference for this object- See Also:
-
TLcdGML32OrientableSurface
Constructs an orientable surface and initializes its model reference (srs).- Parameters:
aSrs
- the model reference for this object- See Also:
-
-
Method Details
-
getFocusPoint
Description copied from interface:ILcdShape
Returns the focus point of thisILcdShape
.- Specified by:
getFocusPoint
in interfaceILcdShape
- Overrides:
getFocusPoint
in classTLcdGML32AbstractGeometry
- Returns:
- the focus point of this
ILcdShape
.
-
contains2D
Description copied from interface:ILcdShape
Checks whether thisILcdShape
contains the givenILcdPoint
in the 2D space. Only the first two dimensions of theILcdShape
and theILcdPoint
are considered.- Specified by:
contains2D
in interfaceILcdShape
- Overrides:
contains2D
in classTLcdGML32AbstractGeometry
- Parameters:
aILcdPoint
- theILcdPoint
to test.- Returns:
- the boolean result of the containment test.
- See Also:
-
contains2D
public boolean contains2D(double v, double v1) Description copied from interface:ILcdShape
Checks whether thisILcdShape
contains the given point in the 2D space. Only the first two dimensions of theILcdShape
are considered.- Specified by:
contains2D
in interfaceILcdShape
- Overrides:
contains2D
in classTLcdGML32AbstractGeometry
- Parameters:
v
- the x coordinate of the point.v1
- the y coordinate of the point.- Returns:
- the boolean result of the containment test.
-
contains3D
Description copied from interface:ILcdShape
Checks whether thisILcdShape
contains the givenILcdPoint
in the 3D space.- Specified by:
contains3D
in interfaceILcdShape
- Overrides:
contains3D
in classTLcdGML32AbstractGeometry
- Parameters:
aILcdPoint
- theILcdPoint
to test.- Returns:
- the boolean result of the containment test.
- See Also:
-
contains3D
public boolean contains3D(double v, double v1, double v2) Description copied from interface:ILcdShape
Checks whether thisILcdShape
contains the given point in the 3D space.- Specified by:
contains3D
in interfaceILcdShape
- Overrides:
contains3D
in classTLcdGML32AbstractGeometry
- Parameters:
v
- the x coordinate of the point.v1
- the y coordinate of the point.v2
- the z coordinate of the point.- Returns:
- the boolean result of the containment test.
-
getBounds
Description copied from interface:ILcdBounded
Returns theILcdBounds
by which the geometry of thisILcdBounded
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 ofTLcdLonLatBounds
orTLcdXYBounds
.- Specified by:
getBounds
in interfaceILcdBounded
- Overrides:
getBounds
in classTLcdGML32AbstractGeometry
- Returns:
- the
ILcdBounds
by which the geometry of thisILcdBounded
object is bounded.
-
getOrientation
Returns the value of the property that maps to theorientation
attribute.- Returns:
- the value of the
ORIENTATION_PROPERTY
property.
-
setOrientation
Sets the value of the property that maps to theorientation
attribute.- Parameters:
aValue
- the value to set for theORIENTATION_PROPERTY
property.
-
getBaseSurface
Returns the value of the property that maps to thebaseSurface
element.The property baseSurface references or contains the base surface. The property baseSurface either references the base surface via the XLink-attributes or contains the surface element. A surface element is any element which is substitutable for gml:AbstractSurface. The base surface has positive orientation.
- Returns:
- the value of the
BASE_SURFACE_PROPERTY
property. - See Also:
-
setBaseSurface
Sets the value of the property that maps to thebaseSurface
element.The property baseSurface references or contains the base surface. The property baseSurface either references the base surface via the XLink-attributes or contains the surface element. A surface element is any element which is substitutable for gml:AbstractSurface. The base surface has positive orientation.
- Parameters:
aValue
- the value to set for theBASE_SURFACE_PROPERTY
property.
-