public interface ILcd3DEditableBounds extends ILcd2DEditableBounds, ILcd3DEditableShape
ILcd3DEditableBounds
object is an ILcdBounds
object that can be changed in all three
dimensions.Modifier and Type | Method and Description |
---|---|
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 aDepth)
Sets the depth of the bounds (the extent along the z-axis).
|
void |
setTo3DIntersection(double aX,
double aY,
double aZ,
double aWidth,
double aHeight,
double aDepth)
Calculates the 3D intersection of this
ILcd3DEditableBounds and a given box. |
void |
setTo3DIntersection(ILcdBounds aBounds)
Calculates the 3D intersection of this
ILcd3DEditableBounds and a given ILcdBounds . |
void |
setTo3DUnion(double aX,
double aY,
double aZ,
double aWidth,
double aHeight,
double aDepth)
Calculates the 3D union of this
ILcd3DEditableBounds and a given box. |
void |
setTo3DUnion(ILcdBounds aBounds)
Calculates the 3D union of this
ILcd3DEditableBounds and a given ILcdBounds . |
void |
setToIncludePoint3D(double aX,
double aY,
double aZ)
Calculates the 3D extension of this
ILcd3DEditableBounds that contains a given ILcdPoint . |
void |
setToIncludePoint3D(ILcdPoint aPoint)
Calculates the 3D extension of this
ILcd3DEditableBounds that contains a given ILcdPoint . |
void |
translate3D(double aDeltaX,
double aDeltaY,
double aDeltaZ)
Translates this
ILcd3DEditableShape from its current position over the given translation
vector in the 3D space. |
move2D, move2D, setHeight, setTo2DIntersection, setTo2DIntersection, setTo2DUnion, setTo2DUnion, setToIncludePoint2D, setToIncludePoint2D, setWidth, translate2D
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 move3D(ILcdPoint aPoint)
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 ILcd3DEditableShape
aPoint
- the ILcdPoint
to move to.ILcd3DEditableShape.move3D(double, double, double)
void move3D(double aX, double aY, double aZ)
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 ILcd3DEditableShape
aX
- the x coordinate of the point.aY
- the y coordinate of the point.aZ
- the z coordinate of the point.void translate3D(double aDeltaX, double aDeltaY, double aDeltaZ)
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 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.void setDepth(double aDepth)
If this bounds is undefined
, it becomes defined.
aDepth
- the new depth.void setTo3DIntersection(ILcdBounds aBounds)
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.
aBounds
- the other ILcdBounds
operand for the intersection.setTo3DIntersection(double, double, double, double, double, double)
void setTo3DIntersection(double aX, double aY, double aZ, double aWidth, double aHeight, double aDepth)
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.
aX
- the x coordinate of the box.aY
- the y coordinate of the box.aZ
- the z coordinate of the box.aWidth
- the width of the box.aHeight
- the height of the box.aDepth
- the depth of the box.void setTo3DUnion(ILcdBounds aBounds)
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.
aBounds
- the other ILcdBounds
operand for the union.setTo3DUnion(double, double, double, double, double, double)
void setTo3DUnion(double aX, double aY, double aZ, double aWidth, double aHeight, double aDepth)
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.
aX
- the x coordinate of the box.aY
- the y coordinate of the box.aZ
- the z coordinate of the box.aWidth
- the width of the box.aHeight
- the height of the box.aDepth
- the depth of the box.void setToIncludePoint3D(ILcdPoint aPoint)
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.
aPoint
- the ILcdPoint
operand for the union.setToIncludePoint3D(double, double, double)
void setToIncludePoint3D(double aX, double aY, double aZ)
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.
aX
- the x coordinate of the point.aY
- the y coordinate of the point.aZ
- the z coordinate of the point.