Interface ILcd3DEditableBounds

All Superinterfaces:
Cloneable, ILcd2DEditableBounds, ILcd2DEditableShape, ILcd3DEditableShape, ILcdBounded, ILcdBounds, ILcdCloneable, ILcdShape, Serializable
All Known Implementing Classes:
ALcd3DEditableBounds, TLcdGML2Box, TLcdGML31Box, TLcdGML31Envelope, TLcdGML31EnvelopeWithTimePeriod, TLcdGML31Rectangle, TLcdGML32Envelope, TLcdGML32EnvelopeWithTimePeriod, TLcdGML32Rectangle, TLcdLonLatHeightBounds, TLcdXYZBounds, TLcdXYZFloatBounds

public interface ILcd3DEditableBounds extends ILcd2DEditableBounds, ILcd3DEditableShape
An ILcd3DEditableBounds object is an ILcdBounds object that can be changed in all three dimensions.
  • Method Details

    • move3D

      void move3D(ILcdPoint aPoint)
      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.

      If this bounds was undefined, it becomes defined after the move.

      Specified by:
      move3D in interface ILcd3DEditableShape
      Parameters:
      aPoint - the ILcdPoint to move to.
      See Also:
    • move3D

      void move3D(double aX, double aY, double aZ)
      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.

      If this bounds was undefined, it becomes defined after the move.

      Specified by:
      move3D in interface ILcd3DEditableShape
      Parameters:
      aX - the x coordinate of the point.
      aY - the y coordinate of the point.
      aZ - the z coordinate of the point.
    • translate3D

      void translate3D(double aDeltaX, double aDeltaY, double aDeltaZ)
      Translates this ILcd3DEditableShape from its current position over the given translation vector in the 3D space.

      If this bounds is undefined, it becomes defined.

      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.
    • setDepth

      void setDepth(double aDepth)
      Sets the depth of the bounds (the extent along the z-axis).

      If this bounds is undefined, it becomes defined.

      Parameters:
      aDepth - the new depth.
    • setTo3DIntersection

      void setTo3DIntersection(ILcdBounds aBounds)
      Calculates the 3D intersection of this 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.

      Parameters:
      aBounds - the other ILcdBounds operand for the intersection.
      See Also:
    • setTo3DIntersection

      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. 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.

      Parameters:
      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.
    • setTo3DUnion

      void setTo3DUnion(ILcdBounds aBounds)
      Calculates the 3D union of this 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.

      Parameters:
      aBounds - the other ILcdBounds operand for the union.
      See Also:
    • setTo3DUnion

      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. 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.

      Parameters:
      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.
    • setToIncludePoint3D

      void setToIncludePoint3D(ILcdPoint aPoint)
      Calculates the 3D extension of this 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.

      Parameters:
      aPoint - the ILcdPoint operand for the union.
      See Also:
    • setToIncludePoint3D

      void setToIncludePoint3D(double aX, double aY, double aZ)
      Calculates the 3D extension of this 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.

      Parameters:
      aX - the x coordinate of the point.
      aY - the y coordinate of the point.
      aZ - the z coordinate of the point.