Class 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

    Constructors
    Constructor
    Description
    Deprecated.
     
    TLcdExtrudeShape(ILcd2DEditableShape a2DEditableShape, double aMinZ, double aMaxZ)
    Deprecated.
    Constructs a new TLcdExtrudeShape with the given parameters.
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    Creates and returns a copy of this object.
    boolean
    contains2D(double aX, double aY)
    Deprecated.
    Checks whether this ILcdShape contains the given point in the 2D space.
    boolean
    Deprecated.
    Checks whether this ALcdShape 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
    equals(Object aObject)
    Deprecated.
    Returns whether the given object has the same class and the same shape.
    Deprecated.
     
    Deprecated.
    Returns the shape that is used as a base for extrusion.
    Deprecated.
    Returns the ILcdBounds by which the geometry of this ILcdBounded 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
    Deprecated.
     
    double
    Deprecated.
    Returns the minimum Z value for extrusion.
    final double
    Deprecated.
     
    int
    Deprecated.
    The hash code of this shape is the hash code of its class, in order to be consistent with the ALcdShape.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 this ILcd3DEditableShape to the given point in the 3D space.
    void
    Deprecated.
     
    void
    setMaxZ(double newMaxZ)
    Deprecated.
     
    void
    setMinZ(double newMinZ)
    Deprecated.
     
    Deprecated.
     
    void
    translate2D(double aDeltaX, double aDeltaY)
    Deprecated.
    Translates this ILcd2DEditableShape from its current position over the given translation vector in the 2D space.
    void
    translate3D(double aDeltaX, double aDeltaY, double aDeltaZ)
    Deprecated.
    Translates this ILcd3DEditableShape 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

      public TLcdExtrudeShape(ILcd2DEditableShape a2DEditableShape, double aMinZ, double aMaxZ)
      Deprecated.
      Constructs a new TLcdExtrudeShape 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

      public TLcdExtrudeShape(TLcdExtrudeShape aTLcdExtrudeShape)
      Deprecated.
  • Method Details

    • getBaseShape

      public ILcdShape getBaseShape()
      Deprecated.
      Description copied from interface: ILcdExtrudedShape
      Returns the shape that is used as a base for extrusion.
      Specified by:
      getBaseShape in interface ILcdExtrudedShape
      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 interface ILcdExtrudedShape
      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 interface ILcdExtrudedShape
      Returns:
      the maximum Z value for extrusion.
    • set2DEditableShape

      public void set2DEditableShape(ILcd2DEditableShape a2DEditableShape)
      Deprecated.
    • get2DEditableShape

      public final ILcd2DEditableShape 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

      public ILcdPoint 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 interface ILcdShape
      Returns:
      the focus point of this ILcdShape.
    • getBounds

      public ILcdBounds getBounds()
      Deprecated.
      Description copied from interface: ILcdBounded
      Returns the 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.

      Specified by:
      getBounds in interface ILcdBounded
      Returns:
      the ILcdBounds by which the geometry of this ILcdBounded 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 interface ILcd2DEditableShape
      Overrides:
      move2D in class ALcd2DEditableShape
      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 this 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.
      Specified by:
      translate2D in interface ILcd2DEditableShape
      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 this ILcdShape contains the given point in the 2D space. Only the first two dimensions of the ILcdShape are considered.
      Specified by:
      contains2D in interface ILcdShape
      Parameters:
      aX - the x coordinate of the point.
      aY - the y coordinate of the point.
      Returns:
      the boolean result of the containment test.
    • contains2D

      public boolean contains2D(ILcdPoint aPoint)
      Deprecated.
      Description copied from class: ALcdShape
      Checks whether this ALcdShape contains the given point in the 2D cartesian plane.
      Specified by:
      contains2D in interface ILcdShape
      Overrides:
      contains2D in class ALcdShape
      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 interface ILcdShape
      Overrides:
      contains3D in class ALcd2DEditableShape
      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 this ILcd3DEditableShape 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 interface ILcd3DEditableShape
      Overrides:
      move3D in class ALcd3DEditableShape
      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 this ILcd3DEditableShape from its current position over the given translation vector in the 3D space.
      Specified by:
      translate3D in interface ILcd3DEditableShape
      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

      public Object clone()
      Deprecated.
      Creates and returns a copy of this object.

      The contained editable shape is cloned.

      Specified by:
      clone in interface ILcdCloneable
      Overrides:
      clone in class ALcdShape
      See Also:
    • equals

      public boolean equals(Object aObject)
      Deprecated.
      Returns whether the given object has the same class and the same shape.
      Overrides:
      equals in class ALcdShape
    • 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 the ALcdShape.equals(Object) method. Extensions should refine this implementation, based on their properties.
      Overrides:
      hashCode in class ALcdShape
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object