public interface ILcd2DEditableBounds extends ILcdBounds, ILcd2DEditableShape
ILcd2DEditableBounds
object is an ILcdBounds
object that can be changed in two
dimensions.Modifier and Type  Method and Description 

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 
setHeight(double aHeight)
Sets the height of the bounds (the extent along the yaxis).

void 
setTo2DIntersection(double aX,
double aY,
double aWidth,
double aHeight)
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 aX,
double aY,
double aWidth,
double aHeight)
Calculates the 2D union of this
ILcd2DEditableBounds object and a given rectangle. 
void 
setTo2DUnion(ILcdBounds aBounds)
Calculates the 2D union of this
ILcd2DEditableBounds and a given ILcdBounds . 
void 
setToIncludePoint2D(double aX,
double aY)
Calculates the 2D extension of this
ILcd2DEditableBounds object that contains a given point. 
void 
setToIncludePoint2D(ILcdPoint aPoint)
Calculates the 2D extension of this
ILcd2DEditableBounds object that contains a given ILcdPoint . 
void 
setWidth(double aWidth)
Sets the width of the bounds (the extent along the xaxis).

void 
translate2D(double aDeltaX,
double aDeltaY)
Translates this
ILcd2DEditableShape from its current position over the given translation
vector in the 2D space. 
cloneAs2DEditableBounds, cloneAs3DEditableBounds, contains2D, contains2D, contains3D, contains3D, getCenter, getDepth, getHeight, getLocation, getMaxX, getMaxY, getMaxZ, getMinX, getMinY, getMinZ, getWidth, interacts2D, interacts2D, interacts3D, interacts3D, isDefined
contains2D, contains2D, contains3D, contains3D, getFocusPoint
getBounds
clone
void move2D(ILcdPoint aPoint)
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 ILcd2DEditableShape
aPoint
 the ILcdPoint
to move to.ILcd2DEditableShape.move2D(double, double)
void move2D(double aX, double aY)
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 ILcd2DEditableShape
aX
 the x coordinate of the point.aY
 the y coordinate of the point.void translate2D(double aDeltaX, double aDeltaY)
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 ILcd2DEditableShape
aDeltaX
 the x coordinate of the translation vector.aDeltaY
 the y coordinate of the translation vector.void setWidth(double aWidth)
If this bounds was undefined
, it becomes defined.
aWidth
 the new width.void setHeight(double aHeight)
If this bounds was undefined
, it becomes defined.
aHeight
 the new height.void setTo2DIntersection(ILcdBounds aBounds)
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.
aBounds
 the other ILcdBounds
operand for the intersection.setTo2DIntersection(double, double, double, double)
void setTo2DIntersection(double aX, double aY, double aWidth, double aHeight)
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.
aX
 the x coordinate of the rectangle.aY
 the y coordinate of the rectangle.aWidth
 the width of the rectangle.aHeight
 the height of the rectangle.void setTo2DUnion(ILcdBounds aBounds)
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.
aBounds
 the other ILcdBounds
operand for the union.setTo2DUnion(double, double, double, double)
void setTo2DUnion(double aX, double aY, double aWidth, double aHeight)
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.
aX
 the x coordinate of the rectangle.aY
 the y coordinate of the rectangle.aWidth
 the width of the rectangle.aHeight
 the height of the rectangle.void setToIncludePoint2D(ILcdPoint aPoint)
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.
aPoint
 the point that should be inside (or at the edge) after the extension of the bounds.setToIncludePoint2D(double, double)
void setToIncludePoint2D(double aX, double aY)
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.
aX
 the x coordinate of the point.aY
 the y coordinate of the point.