public class TLcdGML32Rectangle extends TLcdGML32AbstractSurfacePatch implements ILcd3DEditableBounds
Modifier and Type | Field and Description |
---|---|
static TLcdDataProperty |
EXTERIOR_PROPERTY
Data property that maps to the
exterior element. |
static TLcdDataProperty |
INTERPOLATION_ATTR_PROPERTY
Data property that maps to the
interpolation attribute. |
Constructor and Description |
---|
TLcdGML32Rectangle() |
TLcdGML32Rectangle(ILcdModelReference aModelReference)
Constructs a new instance and sets its exterior to a new
TLcdGML32LinearRing
initialized with the given model reference. |
TLcdGML32Rectangle(TLcdDataType aType) |
TLcdGML32Rectangle(TLcdDataType aDataType,
ILcdModelReference aModelReference)
Constructs a new instance and sets its exterior to a new
TLcdGML32LinearRing
initialized with the given model reference. |
Modifier and Type | Method and Description |
---|---|
TLcdGML32Rectangle |
clone()
Returns a deep clone of this object.
|
TLcdDataObject |
clone(Map aObjectDictionary)
Returns a deep clone of this object.
|
ILcd2DEditableBounds |
cloneAs2DEditableBounds()
Returns a copy of this
ILcdBounds object that is also an ILcd2DEditableBounds . |
ILcd3DEditableBounds |
cloneAs3DEditableBounds()
Returns a copy of this
ILcdBounds object that is also an ILcd3DEditableBounds . |
boolean |
contains2D(double aX,
double aY)
Checks whether this
ILcdShape contains the given point in
the 2D space. |
boolean |
contains2D(double aArg0,
double aArg1,
double aArg2,
double aArg3)
Checks whether this
ILcdBounds object contains the given rectangle in
the 2D space. |
boolean |
contains2D(ILcdBounds aArg0)
Checks whether this
ILcdBounds object contains the given ILcdBounds
object in the 2D space. |
boolean |
contains2D(ILcdPoint aPoint)
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(double aArg0,
double aArg1,
double aArg2,
double aArg3,
double aArg4,
double aArg5)
Checks whether this
ILcdBounds object contains the given box in the 3D
space. |
boolean |
contains3D(ILcdBounds aArg0)
Checks whether this
ILcdBounds object contains the given ILcdBounds
object in the 3D space. |
boolean |
contains3D(ILcdPoint aPoint)
Checks whether this
ILcdShape contains the given ILcdPoint in the 3D space. |
ILcdBounds |
getBounds()
Returns the
ILcdBounds by which the geometry of this ILcdBounded object
is bounded. |
double |
getDepth()
Returns the depth of the bounding box.
|
TLcdGML32AbstractRing |
getExterior()
Returns the role value contained in the value of the
EXTERIOR_PROPERTY property. |
ILcdPoint |
getFocusPoint()
Returns the focus point of this
ILcdShape . |
double |
getHeight()
Returns the height of the bounding box.
|
ELcdGML32SurfaceInterpolation |
getInterpolationAttr()
Returns the value of the property that maps to the
interpolation attribute. |
ILcdPoint |
getLocation()
Returns the location of the bounding box (smallest x and y coordinates).
|
double |
getWidth()
Returns the width of the bounding box.
|
boolean |
interacts2D(double aArg0,
double aArg1,
double aArg2,
double aArg3)
Checks whether this
ILcdBounds object interacts with the given rectangle in
the 2D space. |
boolean |
interacts2D(ILcdBounds aArg0)
Checks whether this
ILcdBounds object interacts with the given ILcdBounds
object in the 2D space. |
boolean |
interacts3D(double aArg0,
double aArg1,
double aArg2,
double aArg3,
double aArg4,
double aArg5)
Checks whether this
ILcdBounds object interacts with the given box in
the 3D space. |
boolean |
interacts3D(ILcdBounds aArg0)
Checks whether this
ILcdBounds object interacts with the given ILcdBounds
object. |
boolean |
isDefined()
Indicates whether this bounds object is valid.
|
void |
move2D(double aX,
double aY)
Moves this
ILcd2DEditableShape to the given point in the 2D space. |
void |
move2D(ILcdPoint aPoint)
Moves this
ILcd2DEditableShape to the given point in the 2D space. |
void |
move3D(double aX,
double aY,
double aZ)
Moves this
ILcd3DEditableShape to the given point in the 3D space. |
void |
move3D(ILcdPoint aPoint)
Moves this
ILcd3DEditableShape to the given point in the 3D space. |
void |
setDepth(double aArg0)
Sets the depth of the bounds (the extent along the z-axis).
|
void |
setExterior(TLcdGML32AbstractRing aValue)
Sets the value of the property that maps to the
exterior element. |
void |
setHeight(double aHeight)
Sets the height of the bounds (the extent along the y-axis).
|
void |
setInterpolationAttr(ELcdGML32SurfaceInterpolation aValue)
Sets the value of the property that maps to the
interpolation attribute. |
void |
setTo2DIntersection(double aArg0,
double aArg1,
double aArg2,
double aArg3)
Calculates the 2D intersection of this
ILcd2DEditableBounds object and a given rectangle. |
void |
setTo2DIntersection(ILcdBounds aBounds)
Calculates the 2D intersection of this
ILcd2DEditableBounds and a given ILcdBounds . |
void |
setTo2DUnion(double aArg0,
double aArg1,
double aArg2,
double aArg3)
Calculates the 2D union of this
ILcd2DEditableBounds object and a given rectangle. |
void |
setTo2DUnion(ILcdBounds aArg0)
Calculates the 2D union of this
ILcd2DEditableBounds and a given ILcdBounds . |
void |
setTo3DIntersection(double aArg0,
double aArg1,
double aArg2,
double aArg3,
double aArg4,
double aArg5)
Calculates the 3D intersection of this
ILcd3DEditableBounds and a given box. |
void |
setTo3DIntersection(ILcdBounds aArg0)
Calculates the 3D intersection of this
ILcd3DEditableBounds and a given ILcdBounds . |
void |
setTo3DUnion(double aArg0,
double aArg1,
double aArg2,
double aArg3,
double aArg4,
double aArg5)
Calculates the 3D union of this
ILcd3DEditableBounds and a given box. |
void |
setTo3DUnion(ILcdBounds aArg0)
Calculates the 3D union of this
ILcd3DEditableBounds and a given ILcdBounds . |
void |
setToIncludePoint2D(double aArg0,
double aArg1)
Calculates the 2D extension of this
ILcd2DEditableBounds object that contains a given point. |
void |
setToIncludePoint2D(ILcdPoint aArg0)
Calculates the 2D extension of this
ILcd2DEditableBounds object that contains a given ILcdPoint . |
void |
setToIncludePoint3D(double aArg0,
double aArg1,
double aArg2)
Calculates the 3D extension of this
ILcd3DEditableBounds that contains a given ILcdPoint . |
void |
setToIncludePoint3D(ILcdPoint aArg0)
Calculates the 3D extension of this
ILcd3DEditableBounds that contains a given ILcdPoint . |
void |
setWidth(double aArg0)
Sets the width of the bounds (the extent along the x-axis).
|
void |
translate2D(double aDeltaX,
double aDeltaY)
Translates this
ILcd2DEditableShape from its current position over the given translation
vector in the 2D space. |
void |
translate3D(double aDeltaX,
double aDeltaY,
double aDeltaZ)
Translates this
ILcd3DEditableShape from its current position over the given translation
vector in the 3D space. |
getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue, toString
public static final TLcdDataProperty INTERPOLATION_ATTR_PROPERTY
interpolation
attribute.
The possible values for this property are instances of ELcdGML32SurfaceInterpolation
.public static final TLcdDataProperty EXTERIOR_PROPERTY
exterior
element.
The possible values for this property are instances of TLcdGML32AbstractRingProperty
.public TLcdGML32Rectangle()
public TLcdGML32Rectangle(TLcdDataType aType)
public TLcdGML32Rectangle(ILcdModelReference aModelReference)
TLcdGML32LinearRing
initialized with the given model reference.aModelReference
- the model reference of this objectpublic TLcdGML32Rectangle(TLcdDataType aDataType, ILcdModelReference aModelReference)
TLcdGML32LinearRing
initialized with the given model reference.aDataType
- the data type for this objectaModelReference
- the model reference of this objectpublic boolean isDefined()
ILcdBounds
true
, this bounds describes a valid geographic region.false
, this bounds does not represent a geographic region, and its
location, width, height and depth should not be used.isDefined
in interface ILcdBounds
true
if this object describes actual bounds, false
if notpublic ILcd2DEditableBounds cloneAs2DEditableBounds()
ILcdBounds
ILcdBounds
object that is also an ILcd2DEditableBounds
.
This makes sure that the first two dimensions of the copy are writable,
even if the original ILcdBounds
object may be read-only.cloneAs2DEditableBounds
in interface ILcdBounds
ILcdBounds
object that is also an ILcd2DEditableBounds
.
This makes sure that the first two dimensions of the copy are writable,
even if the original ILcdBounds
object may be read-only.ILcd2DEditableBounds
public ILcd3DEditableBounds cloneAs3DEditableBounds()
ILcdBounds
ILcdBounds
object that is also an ILcd3DEditableBounds
.
This makes sure that all three dimensions of the copy are writable,
even if the original ILcdBounds
object may be read-only.cloneAs3DEditableBounds
in interface ILcdBounds
ILcdBounds
object that is also an ILcd3DEditableBounds
.
This makes sure that all three dimensions of the copy are writable,
even if the original ILcdBounds
object may be read-only.ILcd3DEditableBounds
public boolean contains2D(double aArg0, double aArg1, double aArg2, double aArg3)
ILcdBounds
ILcdBounds
object contains the given rectangle in
the 2D space. Only the first two dimensions of the ILcdBounds
object
are considered.
If this bounds is undefined
, the result is false.
contains2D
in interface ILcdBounds
aArg0
- the x coordinate of the rectangle.aArg1
- the y coordinate of the rectangle.aArg2
- the width of the rectangle.aArg3
- the height of the rectangle.public boolean contains2D(ILcdBounds aArg0)
ILcdBounds
ILcdBounds
object contains the given ILcdBounds
object in the 2D space. Only the first two dimensions of the ILcdBounds
objects
are considered.
If either bounds is undefined
, the result is false.
contains2D
in interface ILcdBounds
aArg0
- the ILcdBounds
to compare with.ILcdBounds.contains2D(double, double, double, double)
public boolean contains3D(double aArg0, double aArg1, double aArg2, double aArg3, double aArg4, double aArg5)
ILcdBounds
ILcdBounds
object contains the given box in the 3D
space.
If this bounds is undefined
, the result is false.
contains3D
in interface ILcdBounds
aArg0
- the x coordinate of the point.aArg1
- the y coordinate of the point.aArg2
- the z coordinate of the point.aArg3
- the width of the box.aArg4
- the height of the box.aArg5
- the depth of the box.ILcdBounds.contains2D(double, double, double, double)
public boolean contains3D(ILcdBounds aArg0)
ILcdBounds
ILcdBounds
object contains the given ILcdBounds
object in the 3D space.
If either bounds is undefined
, the result is false.
contains3D
in interface ILcdBounds
aArg0
- the ILcdBounds
to compare with.ILcdBounds.contains3D(double, double, double, double, double, double)
public double getDepth()
ILcdBounds
getDepth
in interface ILcdBounds
public double getHeight()
ILcdBounds
getHeight
in interface ILcdBounds
public ILcdPoint getLocation()
ILcdBounds
getLocation
in interface ILcdBounds
public double getWidth()
ILcdBounds
getWidth
in interface ILcdBounds
public boolean interacts2D(double aArg0, double aArg1, double aArg2, double aArg3)
ILcdBounds
ILcdBounds
object interacts with the given rectangle in
the 2D space. Only the first two dimensions of the ILcdBounds
object
are considered.
If this bounds is undefined
, the result is false.
interacts2D
in interface ILcdBounds
aArg0
- the x coordinate of the rectangle.aArg1
- the y coordinate of the rectangle.aArg2
- the width of the rectangle.aArg3
- the height of the rectangle.true
if this ILcdBounds
object touches or overlaps to
any extent with the given rectangle, false
otherwise.public boolean interacts2D(ILcdBounds aArg0)
ILcdBounds
ILcdBounds
object interacts with the given ILcdBounds
object in the 2D space. Only the first two dimensions of the ILcdBounds
objects
are considered.
If either bounds is undefined
, the result is false.
interacts2D
in interface ILcdBounds
aArg0
- the ILcdBounds
to compare with.ILcdBounds.interacts2D(double, double, double, double)
public boolean interacts3D(double aArg0, double aArg1, double aArg2, double aArg3, double aArg4, double aArg5)
ILcdBounds
ILcdBounds
object interacts with the given box in
the 3D space.
If this bounds is undefined
, the result is false.
interacts3D
in interface ILcdBounds
aArg0
- the x coordinate of the box.aArg1
- the y coordinate of the box.aArg2
- the z coordinate of the box.aArg3
- the width of the box.aArg4
- the height of the box.aArg5
- the depth of the box.true
if this ILcdBounds
object touches or overlaps to
any extent with the given box, false
otherwise.public boolean interacts3D(ILcdBounds aArg0)
ILcdBounds
ILcdBounds
object interacts with the given ILcdBounds
object.
If either bounds is undefined
, the result is false.
interacts3D
in interface ILcdBounds
aArg0
- the ILcdBounds
to compare with.ILcdBounds.interacts3D(double, double, double, double, double, double)
public void setDepth(double aArg0)
ILcd3DEditableBounds
If this bounds is undefined
, it becomes defined.
setDepth
in interface ILcd3DEditableBounds
aArg0
- the new depth.public void setTo2DUnion(double aArg0, double aArg1, double aArg2, double aArg3)
ILcd2DEditableBounds
ILcd2DEditableBounds
object and a given rectangle.
The result contains at least all the points that are contained in
the ILcdBounds
object and in the rectangle (and typically more). Only the first two dimensions of
this ILcdBounds
object are considered. It is
updated with the result. Its third dimension is left unchanged.
If this bounds is undefined
, it is set to the arguments.
setTo2DUnion
in interface ILcd2DEditableBounds
aArg0
- the x coordinate of the rectangle.aArg1
- the y coordinate of the rectangle.aArg2
- the width of the rectangle.aArg3
- the height of the rectangle.public void setTo2DUnion(ILcdBounds aArg0)
ILcd2DEditableBounds
ILcd2DEditableBounds
and a given ILcdBounds
.
The result contains at least all the points that are contained in either
of the ILcdBounds
objects (and typically more). Only the first two dimensions of
the ILcdBounds
objects are considered. This ILcd2DEditableBounds
object is
updated with the result. Its third dimension is left unchanged.
If this bounds is undefined
, it is set to the argument bounds. If the argument bounds is undefined, nothing happens.
setTo2DUnion
in interface ILcd2DEditableBounds
aArg0
- the other ILcdBounds
operand for the union.ILcd2DEditableBounds.setTo2DUnion(double, double, double, double)
public void setTo3DIntersection(double aArg0, double aArg1, double aArg2, double aArg3, double aArg4, double aArg5)
ILcd3DEditableBounds
ILcd3DEditableBounds
and a given box.
The result contains at least all the points that are contained both in the
ILcdBounds
object and in the box. This ILcd3DEditableBounds
object is updated with
the result.
If this bounds is undefined
, nothing changes.
setTo3DIntersection
in interface ILcd3DEditableBounds
aArg0
- the x coordinate of the box.aArg1
- the y coordinate of the box.aArg2
- the z coordinate of the box.aArg3
- the width of the box.aArg4
- the height of the box.aArg5
- the depth of the box.public void setTo3DIntersection(ILcdBounds aArg0)
ILcd3DEditableBounds
ILcd3DEditableBounds
and a given ILcdBounds
.
The result contains at least all the points that are contained in both
ILcdBounds
objects. This ILcd3DEditableBounds
object is updated with the result.
If this bounds is undefined
, nothing changes. If the argument bounds is undefined
,
this bounds becomes undefined as well.
setTo3DIntersection
in interface ILcd3DEditableBounds
aArg0
- the other ILcdBounds
operand for the intersection.ILcd3DEditableBounds.setTo3DIntersection(double, double, double, double, double, double)
public void setTo3DUnion(double aArg0, double aArg1, double aArg2, double aArg3, double aArg4, double aArg5)
ILcd3DEditableBounds
ILcd3DEditableBounds
and a given box.
The result contains at least all the points that are contained in
the ILcdBounds
objects and in the box (and typically more). This ILcd3DEditableBounds
object is updated with the result.
If this bounds is undefined
, it is set to the arguments.
setTo3DUnion
in interface ILcd3DEditableBounds
aArg0
- the x coordinate of the box.aArg1
- the y coordinate of the box.aArg2
- the z coordinate of the box.aArg3
- the width of the box.aArg4
- the height of the box.aArg5
- the depth of the box.public void setTo3DUnion(ILcdBounds aArg0)
ILcd3DEditableBounds
ILcd3DEditableBounds
and a given ILcdBounds
.
The result contains at least all the points that are contained in either
or both of the ILcdBounds
objects (and typically more). This ILcd3DEditableBounds
object is updated with the result.
If this bounds is undefined
, it is set to the argument bounds. If the argument bounds is undefined, nothing happens.
setTo3DUnion
in interface ILcd3DEditableBounds
aArg0
- the other ILcdBounds
operand for the union.ILcd3DEditableBounds.setTo3DUnion(double, double, double, double, double, double)
public void setToIncludePoint2D(double aArg0, double aArg1)
ILcd2DEditableBounds
ILcd2DEditableBounds
object that contains a given point.
The result contains at least the given point and all the points that are
contained in this ILcd2DEditableBounds
(and typically more). Only the first two
dimensions of this ILcdBounds
object are considered. It is
updated with the result. Its third dimension is left unchanged.
If this bounds is undefined
, it is set to the point.
setToIncludePoint2D
in interface ILcd2DEditableBounds
aArg0
- the x coordinate of the point.aArg1
- the y coordinate of the point.public void setToIncludePoint2D(ILcdPoint aArg0)
ILcd2DEditableBounds
ILcd2DEditableBounds
object that contains a given ILcdPoint
.
The result contains at least the given point and all the points that are
contained in this ILcd2DEditableBounds
(and typically more). Only the first two
dimensions of this ILcdBounds
object and the ILcdPoint
are considered. This
ILcdBounds
object is updated with the result. Its third dimension is left unchanged.
If this bounds is undefined
, it is set to the point.
setToIncludePoint2D
in interface ILcd2DEditableBounds
aArg0
- the point that should be inside (or at the edge) after the extension of the bounds.ILcd2DEditableBounds.setToIncludePoint2D(double, double)
public void setToIncludePoint3D(double aArg0, double aArg1, double aArg2)
ILcd3DEditableBounds
ILcd3DEditableBounds
that contains a given ILcdPoint
.
The result contains at least the given point and all the points that are
contained in this ILcd3DEditableBounds
(and typically more). This ILcd3DEditableBounds
object is updated with the result.
If this bounds is undefined
, it is set to the point.
setToIncludePoint3D
in interface ILcd3DEditableBounds
aArg0
- the x coordinate of the point.aArg1
- the y coordinate of the point.aArg2
- the z coordinate of the point.public void setToIncludePoint3D(ILcdPoint aArg0)
ILcd3DEditableBounds
ILcd3DEditableBounds
that contains a given ILcdPoint
.
The result contains at least the given point and all the points that are
contained in this ILcd3DEditableBounds
(and typically more). This ILcd3DEditableBounds
object is updated with the result.
If this bounds is undefined
, it is set to the point.
setToIncludePoint3D
in interface ILcd3DEditableBounds
aArg0
- the ILcdPoint
operand for the union.ILcd3DEditableBounds.setToIncludePoint3D(double, double, double)
public void setWidth(double aArg0)
ILcd2DEditableBounds
If this bounds was undefined
, it becomes defined.
setWidth
in interface ILcd2DEditableBounds
aArg0
- the new width.public void move3D(ILcdPoint aPoint)
ILcd3DEditableBounds
ILcd3DEditableShape
to the given point in the 3D space. The focus point
is used as the handle by which the shape is moved.
If this bounds was undefined
, it becomes defined after the move.
move3D
in interface ILcd3DEditableBounds
move3D
in interface ILcd3DEditableShape
aPoint
- the ILcdPoint
to move to.ILcd3DEditableShape.move3D(double, double, double)
public void move3D(double aX, double aY, double aZ)
ILcd3DEditableBounds
ILcd3DEditableShape
to the given point in the 3D space. The focus point
is used as the handle by which the shape is moved.
If this bounds was undefined
, it becomes defined after the move.
move3D
in interface ILcd3DEditableBounds
move3D
in interface ILcd3DEditableShape
aX
- the x coordinate of the point.aY
- the y coordinate of the point.aZ
- the z coordinate of the point.public void translate3D(double aDeltaX, double aDeltaY, double aDeltaZ)
ILcd3DEditableBounds
ILcd3DEditableShape
from its current position over the given translation
vector in the 3D space.
If this bounds is undefined
, it becomes defined.
translate3D
in interface ILcd3DEditableBounds
translate3D
in interface ILcd3DEditableShape
aDeltaX
- the x coordinate of the translation vector.aDeltaY
- the y coordinate of the translation vector.aDeltaZ
- the z coordinate of the translation vector.public void move2D(ILcdPoint aPoint)
ILcd2DEditableBounds
ILcd2DEditableShape
to the given point in the 2D space. The focus point
is used as the handle by which the shape is moved. Only the first
two dimensions of the ILcdShape
and the ILcdPoint
are considered.
The third dimension is left unchanged.
If this bounds was undefined
, it becomes defined after the move.
move2D
in interface ILcd2DEditableBounds
move2D
in interface ILcd2DEditableShape
aPoint
- the ILcdPoint
to move to.ILcd2DEditableShape.move2D(double, double)
public void move2D(double aX, double aY)
ILcd2DEditableBounds
ILcd2DEditableShape
to the given point in the 2D space. The focus point
is used as the handle by which the shape is moved. Only the first
two dimensions of the ILcdShape
are considered.
The third dimension is left unchanged.
If this bounds was undefined
, it becomes defined after the move.
move2D
in interface ILcd2DEditableBounds
move2D
in interface ILcd2DEditableShape
aX
- the x coordinate of the point.aY
- the y coordinate of the point.public void translate2D(double aDeltaX, double aDeltaY)
ILcd2DEditableBounds
ILcd2DEditableShape
from its current position over the given translation
vector in the 2D space. Only the first two dimensions of the ILcdShape
are considered.
The third dimension is left unchanged.
If this bounds was undefined
, it becomes defined after the translation.
translate2D
in interface ILcd2DEditableBounds
translate2D
in interface ILcd2DEditableShape
aDeltaX
- the x coordinate of the translation vector.aDeltaY
- the y coordinate of the translation vector.public ILcdPoint getFocusPoint()
ILcdShape
ILcdShape
.getFocusPoint
in interface ILcdShape
getFocusPoint
in class TLcdGML32AbstractSurfacePatch
ILcdShape
.public boolean contains2D(ILcdPoint aPoint)
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 TLcdGML32AbstractSurfacePatch
aPoint
- the ILcdPoint
to test.ILcdShape.contains2D(double, double)
public boolean contains2D(double aX, double aY)
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 TLcdGML32AbstractSurfacePatch
aX
- the x coordinate of the point.aY
- 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
contains3D
in class TLcdGML32AbstractSurfacePatch
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
contains3D
in class TLcdGML32AbstractSurfacePatch
aX
- the x coordinate of the point.aY
- the y coordinate of the point.aZ
- the z coordinate of the point.public void setHeight(double aHeight)
ILcd2DEditableBounds
If this bounds was undefined
, it becomes defined.
setHeight
in interface ILcd2DEditableBounds
aHeight
- the new height.public void setTo2DIntersection(ILcdBounds aBounds)
ILcd2DEditableBounds
ILcd2DEditableBounds
and a given ILcdBounds
.
The result contains at least all the points that are contained in both
ILcdBounds
objects. Only the first two dimensions of
the ILcdBounds
objects are considered. This ILcd2DEditableBounds
object is updated
with the result. Its third dimension is left unchanged.
If this bounds is undefined
, nothing changes. If the argument bounds is undefined
,
this bounds becomes undefined as well.
setTo2DIntersection
in interface ILcd2DEditableBounds
aBounds
- the other ILcdBounds
operand for the intersection.ILcd2DEditableBounds.setTo2DIntersection(double, double, double, double)
public void setTo2DIntersection(double aArg0, double aArg1, double aArg2, double aArg3)
ILcd2DEditableBounds
ILcd2DEditableBounds
object and a given rectangle.
The result contains at least all the points that are contained both in this
ILcdBounds
objects and in the rectangle. Only the first
two dimensions of this ILcdBounds
object are considered. It is updated
with the result. Its third dimension is left unchanged.
If this bounds is undefined
, nothing changes.
setTo2DIntersection
in interface ILcd2DEditableBounds
aArg0
- the x coordinate of the rectangle.aArg1
- the y coordinate of the rectangle.aArg2
- the width of the rectangle.aArg3
- the height of the rectangle.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 TLcdGML32AbstractSurfacePatch
ILcdBounds
by which the geometry of this ILcdBounded
object
is bounded.public TLcdGML32Rectangle clone()
TLcdDataObject
TLcdDataObject.clone(Map)
.clone
in interface ILcdCloneable
clone
in class TLcdDataObject
Object.clone()
public TLcdDataObject clone(Map aObjectDictionary)
TLcdDataObject
ILcdDataObject
, the value is cloned by first creating a new instance via
the value.getDataType().newInstance()
method, and then cloning its properties one by one.ILcdDeepCloneable
or
ILcdCloneable
then this interface is used to clone the value.clone
in interface ILcdDeepCloneable
clone
in class TLcdDataObject
aObjectDictionary
- the Object dictionary that keeps track of the objects for which a clone has already been made,
and their corresponding clone Object.public ELcdGML32SurfaceInterpolation getInterpolationAttr()
interpolation
attribute.INTERPOLATION_ATTR_PROPERTY
property.public void setInterpolationAttr(ELcdGML32SurfaceInterpolation aValue)
interpolation
attribute.aValue
- the value to set for the INTERPOLATION_ATTR_PROPERTY
property.public TLcdGML32AbstractRing getExterior()
EXTERIOR_PROPERTY
property. Returns null
if the value of the EXTERIOR_PROPERTY
property is null
.
A boundary of a surface consists of a number of rings. In the normal 2D case, one of these rings is distinguished as being the exterior boundary. In a general manifold this is not always possible, in which case all boundaries shall be listed as interior boundaries, and the exterior will be empty.
EXTERIOR_PROPERTY
property.TLcdGML32AbstractRingProperty
public void setExterior(TLcdGML32AbstractRing aValue)
exterior
element. to a new instance of the association class TLcdGML32AbstractRingProperty
initialized with the given role value. In case the given role value is null
, the EXTERIOR_PROPERTY
property is set to null
.
A boundary of a surface consists of a number of rings. In the normal 2D case, one of these rings is distinguished as being the exterior boundary. In a general manifold this is not always possible, in which case all boundaries shall be listed as interior boundaries, and the exterior will be empty.
aValue
- the role value to set for the EXTERIOR_PROPERTY
property.