Class ALcdXYDynamicSegmentationEvent

java.lang.Object
com.luciad.shape.shape2D.ALcdXYDynamicSegmentationEvent
All Implemented Interfaces:
ILcdBounded, ILcdShape, ILcd2DDynamicSegmentationEvent, ILcd2DEditableDynamicSegmentationEvent, ILcdCloneable, Serializable, Cloneable
Direct Known Subclasses:
TLcdXYDynamicSegmentationEvent, TLcdXYFloatDynamicSegmentationEvent

public abstract class ALcdXYDynamicSegmentationEvent extends Object implements ILcd2DEditableDynamicSegmentationEvent, Serializable
Deprecated.
Do not use this class.
A ALcdXYDynamicSegmentationEvent is an implementation of ILcd2DDynamicSegmentationEvent.

Be careful: points, shape lists and polylines that are returned are often the same object, setup with different values. These objects are therefore changing all the time, and it is not useful to keep a reference to them.

Two consecutive points of a polyline are guaranteed not to be the same object, if that is also the case for the underlying polylineM.

See Also:
  • Field Details

    • TRACEON

      public static boolean TRACEON
      Deprecated.
  • Constructor Details

    • ALcdXYDynamicSegmentationEvent

      public ALcdXYDynamicSegmentationEvent()
      Deprecated.
  • Method Details

    • getMinBoundsValue

      public abstract double getMinBoundsValue()
      Deprecated.
    • getMaxBoundsValue

      public abstract double getMaxBoundsValue()
      Deprecated.
    • isDirty

      protected boolean isDirty()
      Deprecated.
    • setDirty

      protected void setDirty(boolean aDirty)
      Deprecated.
    • getCachedBoundsX

      public abstract double getCachedBoundsX()
      Deprecated.
    • getCachedBoundsY

      public abstract double getCachedBoundsY()
      Deprecated.
    • getCachedBoundsW

      public abstract double getCachedBoundsW()
      Deprecated.
    • getCachedBoundsH

      public abstract double getCachedBoundsH()
      Deprecated.
    • setCachedBoundsX

      public abstract void setCachedBoundsX(double aCachedBoundsX)
      Deprecated.
    • setCachedBoundsY

      public abstract void setCachedBoundsY(double aCachedBoundsY)
      Deprecated.
    • setCachedBoundsW

      public abstract void setCachedBoundsW(double aCachedBoundsW)
      Deprecated.
    • setCachedBoundsH

      public abstract void setCachedBoundsH(double aCachedBoundsH)
      Deprecated.
    • edit

      public void edit(ILcdShapeList aPolylineM, double aLocation, double aLength, double aDelta)
      Deprecated.
      Specified by:
      edit in interface ILcd2DEditableDynamicSegmentationEvent
    • getHotPointCount

      public int getHotPointCount()
      Deprecated.
      Specified by:
      getHotPointCount in interface ILcd2DDynamicSegmentationEvent
    • hasPosition

      public boolean hasPosition()
      Deprecated.
      Specified by:
      hasPosition in interface ILcd2DDynamicSegmentationEvent
    • getPosition

      public ILcdPoint getPosition()
      Deprecated.
      Specified by:
      getPosition in interface ILcd2DDynamicSegmentationEvent
    • getPointFromBegin

      public ILcdPoint getPointFromBegin(int aIndex)
      Deprecated.
      Specified by:
      getPointFromBegin in interface ILcd2DDynamicSegmentationEvent
    • getBeginPoint

      public ILcdPoint getBeginPoint()
      Deprecated.
      Specified by:
      getBeginPoint in interface ILcd2DDynamicSegmentationEvent
    • getPointFromEnd

      public ILcdPoint getPointFromEnd(int aIndex)
      Deprecated.
      Specified by:
      getPointFromEnd in interface ILcd2DDynamicSegmentationEvent
    • getEndPoint

      public ILcdPoint getEndPoint()
      Deprecated.
      Specified by:
      getEndPoint in interface ILcd2DDynamicSegmentationEvent
    • getSegment

      public ILcdShapeList getSegment()
      Deprecated.
      Specified by:
      getSegment in interface ILcd2DDynamicSegmentationEvent
    • getShapeCount

      public int getShapeCount()
      Deprecated.
      Specified by:
      getShapeCount in interface ILcd2DDynamicSegmentationEvent
    • getShape

      public ILcdShape getShape(int aIndex) throws IndexOutOfBoundsException
      Deprecated.
      Specified by:
      getShape in interface ILcd2DDynamicSegmentationEvent
      Throws:
      IndexOutOfBoundsException
    • cloneAsEditable

      public abstract ILcd2DEditableDynamicSegmentationEvent cloneAsEditable()
      Deprecated.
      Specified by:
      cloneAsEditable in interface ILcd2DDynamicSegmentationEvent
    • clone

      public abstract Object clone()
      Deprecated.
      Description copied from interface: ILcdCloneable

      Makes Object.clone() public.

      When for example extending from java.lang.Object, it can be implemented like this:
      
       public Object clone() {
         try {
           return super.clone();
         } catch ( CloneNotSupportedException e ) {
           // Cannot happen: extends from Object and implements Cloneable (see also Object.clone)
           throw new RuntimeException( e );
         }
       }
       
      Specified by:
      clone in interface ILcdCloneable
      Overrides:
      clone in class Object
      See Also:
    • 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 interface: ILcdShape
      Checks whether this ILcdShape contains the given ILcdPoint in the 2D space. Only the first two dimensions of the ILcdShape and the ILcdPoint are considered.
      Specified by:
      contains2D in interface ILcdShape
      Parameters:
      aPoint - the ILcdPoint 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 interface: ILcdShape
      Checks whether this ILcdShape contains the given point in the 3D space.
      Specified by:
      contains3D in interface ILcdShape
      Parameters:
      aX - the x coordinate of the point.
      aY - the y coordinate of the point.
      aZ - the z coordinate of the point.
      Returns:
      the boolean result of the containment test.
    • contains3D

      public boolean contains3D(ILcdPoint aPoint)
      Deprecated.
      Description copied from interface: ILcdShape
      Checks whether this ILcdShape contains the given ILcdPoint in the 3D space.
      Specified by:
      contains3D in interface ILcdShape
      Parameters:
      aPoint - the ILcdPoint to test.
      Returns:
      the boolean result of the containment test.
      See Also:
    • getFocusPoint

      public ILcdPoint getFocusPoint()
      Deprecated.
      Description copied from interface: ILcdShape
      Returns the focus point of this ILcdShape.
      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.
    • recalculateCache

      protected void recalculateCache()
      Deprecated.
    • toString

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