public class TLcdGML32OrientableSurface extends TLcdGML32AbstractSurface implements ILcdShape
Modifier and Type | Field and Description |
---|---|
static TLcdDataProperty |
BASE_SURFACE_PROPERTY
Data property that maps to the
baseSurface element. |
static TLcdDataProperty |
ORIENTATION_PROPERTY
Data property that maps to the
orientation attribute. |
SRS_PROPERTY
DESCRIPTION_PROPERTY, DESCRIPTION_REFERENCE_PROPERTY, ID_PROPERTY, IDENTIFIER_PROPERTY, META_DATA_PROPERTY_PROPERTY, NAME_PROPERTY
Constructor and Description |
---|
TLcdGML32OrientableSurface() |
TLcdGML32OrientableSurface(ILcdModelReference aSrs)
Constructs an orientable surface and initializes its
model reference (srs).
|
TLcdGML32OrientableSurface(TLcdDataType aType) |
TLcdGML32OrientableSurface(TLcdDataType aDataType,
ILcdModelReference aSrs)
Constructs an orientable surface and initializes its
model reference (srs).
|
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 v,
double v1,
double v2)
Checks whether this
ILcdShape contains the given point in
the 3D space. |
boolean |
contains3D(ILcdPoint aILcdPoint)
Checks whether this
ILcdShape contains the given ILcdPoint in the 3D space. |
TLcdGML32AbstractSurface |
getBaseSurface()
Returns the value of the property that maps to the
baseSurface element. |
ILcdBounds |
getBounds()
Returns the
ILcdBounds by which the geometry of this ILcdBounded object
is bounded. |
ILcdPoint |
getFocusPoint()
Returns the focus point of this
ILcdShape . |
ELcdGML32Sign |
getOrientation()
Returns the value of the property that maps to the
orientation attribute. |
void |
setBaseSurface(TLcdGML32AbstractSurface aValue)
Sets the value of the property that maps to the
baseSurface element. |
void |
setOrientation(ELcdGML32Sign aValue)
Sets the value of the property that maps to the
orientation attribute. |
getSrs, setSrs, toString
getDescription, getDescriptionReference, getId, getIdentifier, getMetaDataProperty, getName, setDescription, setDescriptionReference, setId, setIdentifier
clone, clone, getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clone
public static final TLcdDataProperty ORIENTATION_PROPERTY
orientation
attribute.
The possible values for this property are instances of ELcdGML32Sign
.public static final TLcdDataProperty BASE_SURFACE_PROPERTY
baseSurface
element.
The possible values for this property are instances of TLcdGML32SurfaceProperty
.public TLcdGML32OrientableSurface()
public TLcdGML32OrientableSurface(TLcdDataType aType)
public TLcdGML32OrientableSurface(ILcdModelReference aSrs)
aSrs
- the model reference for this objectTLcdGML32AbstractGeometry.setSrs(ILcdModelReference)
public TLcdGML32OrientableSurface(TLcdDataType aDataType, ILcdModelReference aSrs)
aSrs
- the model reference for this objectTLcdGML32AbstractGeometry.setSrs(ILcdModelReference)
public ILcdPoint getFocusPoint()
ILcdShape
ILcdShape
.getFocusPoint
in interface ILcdShape
getFocusPoint
in class TLcdGML32AbstractGeometry
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
contains2D
in class TLcdGML32AbstractGeometry
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
contains2D
in class TLcdGML32AbstractGeometry
v
- the x coordinate of the point.v1
- the y coordinate of the point.public boolean contains3D(ILcdPoint aILcdPoint)
ILcdShape
ILcdShape
contains the given ILcdPoint
in the 3D space.contains3D
in interface ILcdShape
contains3D
in class TLcdGML32AbstractGeometry
aILcdPoint
- the ILcdPoint
to test.ILcdShape.contains3D(double, double, double)
public boolean contains3D(double v, double v1, double v2)
ILcdShape
ILcdShape
contains the given point in
the 3D space.contains3D
in interface ILcdShape
contains3D
in class TLcdGML32AbstractGeometry
v
- the x coordinate of the point.v1
- the y coordinate of the point.v2
- 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
getBounds
in class TLcdGML32AbstractGeometry
ILcdBounds
by which the geometry of this ILcdBounded
object
is bounded.public ELcdGML32Sign getOrientation()
orientation
attribute.ORIENTATION_PROPERTY
property.public void setOrientation(ELcdGML32Sign aValue)
orientation
attribute.aValue
- the value to set for the ORIENTATION_PROPERTY
property.public TLcdGML32AbstractSurface getBaseSurface()
baseSurface
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.
BASE_SURFACE_PROPERTY
property.TLcdGML32SurfaceProperty
public void setBaseSurface(TLcdGML32AbstractSurface aValue)
baseSurface
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.
aValue
- the value to set for the BASE_SURFACE_PROPERTY
property.