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
ConstructorsConstructorDescriptionDeprecated.TLcdExtrudeShape(ILcd2DEditableShape a2DEditableShape, double aMinZ, double aMaxZ) Deprecated.Constructs a newTLcdExtrudeShapewith the given parameters.TLcdExtrudeShape(TLcdExtrudeShape aTLcdExtrudeShape) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionclone()Deprecated.Creates and returns a copy of this object.booleancontains2D(double aX, double aY) Deprecated.Checks whether thisILcdShapecontains the given point in the 2D space.booleancontains2D(ILcdPoint aPoint) Deprecated.Checks whether thisALcdShapecontains the given point in the 2D cartesian plane.booleancontains3D(double aX, double aY, double aZ) Deprecated.Provides an approximate default implementation of the 3D containment test based on the 2D containment test.booleanDeprecated.Returns whether the given object has the same class and the same shape.final ILcd2DEditableShapeDeprecated.Deprecated.Returns the shape that is used as a base for extrusion.Deprecated.Returns theILcdBoundsby which the geometry of thisILcdBoundedobject 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.doubleDeprecated.Returns the maximum Z value for extrusion.final doublegetMaxZ()Deprecated.doubleDeprecated.Returns the minimum Z value for extrusion.final doublegetMinZ()Deprecated.inthashCode()Deprecated.The hash code of this shape is the hash code of its class, in order to be consistent with theALcdShape.equals(Object)method.voidmove2D(double aX, double aY) Deprecated.Translates this shape so that its focus point ends up at the specified position.voidmove3D(double aX, double aY, double aZ) Deprecated.Moves thisILcd3DEditableShapeto the given point in the 3D space.voidset2DEditableShape(ILcd2DEditableShape a2DEditableShape) Deprecated.voidsetMaxZ(double newMaxZ) Deprecated.voidsetMinZ(double newMinZ) Deprecated.toString()Deprecated.voidtranslate2D(double aDeltaX, double aDeltaY) Deprecated.Translates thisILcd2DEditableShapefrom its current position over the given translation vector in the 2D space.voidtranslate3D(double aDeltaX, double aDeltaY, double aDeltaZ) Deprecated.Translates thisILcd3DEditableShapefrom its current position over the given translation vector in the 3D space.Methods inherited from class com.luciad.shape.shape3D.ALcd3DEditableShape
move3DMethods inherited from class com.luciad.shape.shape2D.ALcd2DEditableShape
move2DMethods inherited from class com.luciad.shape.ALcdShape
contains3D, fromDomainObjectMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.luciad.shape.shape2D.ILcd2DEditableShape
move2DMethods inherited from interface com.luciad.shape.shape3D.ILcd3DEditableShape
move3DMethods inherited from interface com.luciad.shape.ILcdShape
contains3D
-
Constructor Details
-
TLcdExtrudeShape
public TLcdExtrudeShape()Deprecated. -
TLcdExtrudeShape
Deprecated.Constructs a newTLcdExtrudeShapewith 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:ILcdExtrudedShapeReturns the shape that is used as a base for extrusion.- Specified by:
getBaseShapein interfaceILcdExtrudedShape- Returns:
- the shape that is used as a base for extrusion.
-
getMinimumZ
public double getMinimumZ()Deprecated.Description copied from interface:ILcdExtrudedShapeReturns the minimum Z value for extrusion.- Specified by:
getMinimumZin interfaceILcdExtrudedShape- Returns:
- the minimum Z value for extrusion.
-
getMaximumZ
public double getMaximumZ()Deprecated.Description copied from interface:ILcdExtrudedShapeReturns the maximum Z value for extrusion.- Specified by:
getMaximumZin 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:
getFocusPointin interfaceILcdShape- Returns:
- the focus point of this
ILcdShape.
-
getBounds
Deprecated.Description copied from interface:ILcdBoundedReturns theILcdBoundsby which the geometry of thisILcdBoundedobject 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
undefinedbounds. You can create undefined bounds using the default constructors ofTLcdLonLatBoundsorTLcdXYBounds.- Specified by:
getBoundsin interfaceILcdBounded- Returns:
- the
ILcdBoundsby which the geometry of thisILcdBoundedobject is bounded.
-
move2D
public void move2D(double aX, double aY) Deprecated.Description copied from class:ALcd2DEditableShapeTranslates this shape so that its focus point ends up at the specified position.- Specified by:
move2Din interfaceILcd2DEditableShape- Overrides:
move2Din 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:ILcd2DEditableShapeTranslates thisILcd2DEditableShapefrom its current position over the given translation vector in the 2D space. Only the first two dimensions of theILcdShapeare considered. The third dimension is left unchanged.- Specified by:
translate2Din 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:ILcdShapeChecks whether thisILcdShapecontains the given point in the 2D space. Only the first two dimensions of theILcdShapeare considered.- Specified by:
contains2Din 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:ALcdShapeChecks whether thisALcdShapecontains the given point in the 2D cartesian plane.- Specified by:
contains2Din interfaceILcdShape- Overrides:
contains2Din 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:ALcd2DEditableShapeProvides an approximate default implementation of the 3D containment test based on the 2D containment test.- Specified by:
contains3Din interfaceILcdShape- Overrides:
contains3Din classALcd2DEditableShape- Parameters:
aX- the x coordinate of the point.aY- the y coordinate of the point.aZ- the z coordinate of the point.- Returns:
trueif the bounds of this shape contain the point in the 3D space and the shape itself contains the point in the 2D space,falseotherwise.
-
move3D
public void move3D(double aX, double aY, double aZ) Deprecated.Description copied from interface:ILcd3DEditableShapeMoves thisILcd3DEditableShapeto the given point in the 3D space. The focus point is used as the handle by which the shape is moved.- Specified by:
move3Din interfaceILcd3DEditableShape- Overrides:
move3Din 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:ILcd3DEditableShapeTranslates thisILcd3DEditableShapefrom its current position over the given translation vector in the 3D space.- Specified by:
translate3Din 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:
clonein interfaceILcdCloneable- Overrides:
clonein 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:ALcdShapeThe 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.
-