Package com.luciad.shape.shape3D
Class TLcdExtrudeShape
java.lang.Object
com.luciad.shape.ALcdShape
com.luciad.shape.shape2D.ALcd2DEditableShape
com.luciad.shape.shape3D.ALcd3DEditableShape
com.luciad.shape.shape3D.TLcdExtrudeShape
- All Implemented Interfaces:
ILcdBounded
,ILcdShape
,ILcd2DEditableShape
,ILcd3DEditableShape
,ILcdExtrudedShape
,ILcdCloneable
,Serializable
,Cloneable
public class TLcdExtrudeShape
extends ALcd3DEditableShape
implements ILcd3DEditableShape, ILcdExtrudedShape
Deprecated.
Replaced by ILcdExtrudedShape implementations
This class provides an that represents an
extruded 2D shape. The basic shape is an
ILcd2DEditableShape
.
Only its first two dimensions are considered. In the third dimension,
the shape is delimited by a maximum and a minimum value.
This class is thread-safe for concurrent read-only access of its contents. For read-write access, external locking must be used. Such locking is typically done at the model level.
- See Also:
-
Constructor Summary
ConstructorDescriptionDeprecated.TLcdExtrudeShape
(ILcd2DEditableShape a2DEditableShape, double aMinZ, double aMaxZ) Deprecated.Constructs a newTLcdExtrudeShape
with the given parameters.TLcdExtrudeShape
(TLcdExtrudeShape aTLcdExtrudeShape) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Deprecated.Creates and returns a copy of this object.boolean
contains2D
(double aX, double aY) Deprecated.Checks whether thisILcdShape
contains the given point in the 2D space.boolean
contains2D
(ILcdPoint aPoint) Deprecated.Checks whether thisALcdShape
contains the given point in the 2D cartesian plane.boolean
contains3D
(double aX, double aY, double aZ) Deprecated.Provides an approximate default implementation of the 3D containment test based on the 2D containment test.boolean
Deprecated.Returns whether the given object has the same class and the same shape.final ILcd2DEditableShape
Deprecated.Deprecated.Returns the shape that is used as a base for extrusion.Deprecated.Returns theILcdBounds
by which the geometry of thisILcdBounded
object is bounded.Deprecated.The focus point is composed as the first two coordinates of the focus point of the 2D shape, and the minimum value of the third dimension.double
Deprecated.Returns the maximum Z value for extrusion.final double
getMaxZ()
Deprecated.double
Deprecated.Returns the minimum Z value for extrusion.final double
getMinZ()
Deprecated.int
hashCode()
Deprecated.The hash code of this shape is the hash code of its class, in order to be consistent with theALcdShape.equals(Object)
method.void
move2D
(double aX, double aY) Deprecated.Translates this shape so that its focus point ends up at the specified position.void
move3D
(double aX, double aY, double aZ) Deprecated.Moves thisILcd3DEditableShape
to the given point in the 3D space.void
set2DEditableShape
(ILcd2DEditableShape a2DEditableShape) Deprecated.void
setMaxZ
(double newMaxZ) Deprecated.void
setMinZ
(double newMinZ) Deprecated.toString()
Deprecated.void
translate2D
(double aDeltaX, double aDeltaY) Deprecated.Translates thisILcd2DEditableShape
from its current position over the given translation vector in the 2D space.void
translate3D
(double aDeltaX, double aDeltaY, double aDeltaZ) Deprecated.Translates thisILcd3DEditableShape
from its current position over the given translation vector in the 3D space.Methods inherited from class com.luciad.shape.shape3D.ALcd3DEditableShape
move3D
Methods inherited from class com.luciad.shape.shape2D.ALcd2DEditableShape
move2D
Methods inherited from class com.luciad.shape.ALcdShape
contains3D, fromDomainObject
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.luciad.shape.shape2D.ILcd2DEditableShape
move2D
Methods inherited from interface com.luciad.shape.shape3D.ILcd3DEditableShape
move3D
Methods inherited from interface com.luciad.shape.ILcdShape
contains3D
-
Constructor Details
-
TLcdExtrudeShape
public TLcdExtrudeShape()Deprecated. -
TLcdExtrudeShape
Deprecated.Constructs a newTLcdExtrudeShape
with the given parameters.- Parameters:
a2DEditableShape
- the 2D shape on which the extruded shape is based.aMinZ
- the minimum value along the third dimension.aMaxZ
- the maximum value along the third dimension.
-
TLcdExtrudeShape
Deprecated.
-
-
Method Details
-
getBaseShape
Deprecated.Description copied from interface:ILcdExtrudedShape
Returns the shape that is used as a base for extrusion.- Specified by:
getBaseShape
in interfaceILcdExtrudedShape
- Returns:
- the shape that is used as a base for extrusion.
-
getMinimumZ
public double getMinimumZ()Deprecated.Description copied from interface:ILcdExtrudedShape
Returns the minimum Z value for extrusion.- Specified by:
getMinimumZ
in interfaceILcdExtrudedShape
- Returns:
- the minimum Z value for extrusion.
-
getMaximumZ
public double getMaximumZ()Deprecated.Description copied from interface:ILcdExtrudedShape
Returns the maximum Z value for extrusion.- Specified by:
getMaximumZ
in interfaceILcdExtrudedShape
- Returns:
- the maximum Z value for extrusion.
-
set2DEditableShape
Deprecated. -
get2DEditableShape
Deprecated. -
getMinZ
public final double getMinZ()Deprecated. -
setMinZ
public void setMinZ(double newMinZ) Deprecated. -
setMaxZ
public void setMaxZ(double newMaxZ) Deprecated. -
getMaxZ
public final double getMaxZ()Deprecated. -
getFocusPoint
Deprecated.The focus point is composed as the first two coordinates of the focus point of the 2D shape, and the minimum value of the third dimension.- Specified by:
getFocusPoint
in interfaceILcdShape
- Returns:
- the focus point of this
ILcdShape
.
-
getBounds
Deprecated.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
- Returns:
- the
ILcdBounds
by which the geometry of thisILcdBounded
object is bounded.
-
move2D
public void move2D(double aX, double aY) Deprecated.Description copied from class:ALcd2DEditableShape
Translates this shape so that its focus point ends up at the specified position.- Specified by:
move2D
in interfaceILcd2DEditableShape
- Overrides:
move2D
in classALcd2DEditableShape
- Parameters:
aX
- the x coordinate of the point.aY
- the y coordinate of the point.
-
translate2D
public void translate2D(double aDeltaX, double aDeltaY) Deprecated.Description copied from interface:ILcd2DEditableShape
Translates thisILcd2DEditableShape
from its current position over the given translation vector in the 2D space. Only the first two dimensions of theILcdShape
are considered. The third dimension is left unchanged.- Specified by:
translate2D
in interfaceILcd2DEditableShape
- Parameters:
aDeltaX
- the x coordinate of the translation vector.aDeltaY
- the y coordinate of the translation vector.
-
contains2D
public boolean contains2D(double aX, double aY) Deprecated.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
- Parameters:
aX
- the x coordinate of the point.aY
- the y coordinate of the point.- Returns:
- the boolean result of the containment test.
-
contains2D
Deprecated.Description copied from class:ALcdShape
Checks whether thisALcdShape
contains the given point in the 2D cartesian plane.- Specified by:
contains2D
in interfaceILcdShape
- Overrides:
contains2D
in classALcdShape
- Parameters:
aPoint
- the point to test.- Returns:
- the boolean result of the containment test.
- See Also:
-
contains3D
public boolean contains3D(double aX, double aY, double aZ) Deprecated.Description copied from class:ALcd2DEditableShape
Provides an approximate default implementation of the 3D containment test based on the 2D containment test.- Specified by:
contains3D
in interfaceILcdShape
- Overrides:
contains3D
in classALcd2DEditableShape
- Parameters:
aX
- the x coordinate of the point.aY
- the y coordinate of the point.aZ
- the z coordinate of the point.- Returns:
true
if the bounds of this shape contain the point in the 3D space and the shape itself contains the point in the 2D space,false
otherwise.
-
move3D
public void move3D(double aX, double aY, double aZ) Deprecated.Description copied from interface:ILcd3DEditableShape
Moves thisILcd3DEditableShape
to the given point in the 3D space. The focus point is used as the handle by which the shape is moved.- Specified by:
move3D
in interfaceILcd3DEditableShape
- Overrides:
move3D
in classALcd3DEditableShape
- Parameters:
aX
- the x coordinate of the point.aY
- the y coordinate of the point.aZ
- the z coordinate of the point.
-
translate3D
public void translate3D(double aDeltaX, double aDeltaY, double aDeltaZ) Deprecated.Description copied from interface:ILcd3DEditableShape
Translates thisILcd3DEditableShape
from its current position over the given translation vector in the 3D space.- Specified by:
translate3D
in interfaceILcd3DEditableShape
- Parameters:
aDeltaX
- the x coordinate of the translation vector.aDeltaY
- the y coordinate of the translation vector.aDeltaZ
- the z coordinate of the translation vector.
-
clone
Deprecated.Creates and returns a copy of this object. The contained editable shape is cloned.- Specified by:
clone
in interfaceILcdCloneable
- Overrides:
clone
in classALcdShape
- See Also:
-
equals
Deprecated.Returns whether the given object has the same class and the same shape. -
hashCode
public int hashCode()Deprecated.Description copied from class:ALcdShape
The hash code of this shape is the hash code of its class, in order to be consistent with theALcdShape.equals(Object)
method. Extensions should refine this implementation, based on their properties. -
toString
Deprecated.
-