Interface ILcdGXYViewXYWorldTransformation

All Superinterfaces:
Cloneable, Serializable
All Known Implementing Classes:
TLcdGXYViewXYWorldTransformation

public interface ILcdGXYViewXYWorldTransformation extends Serializable, Cloneable
This interface defines all transformations between world coordinates and AWT view coordinates.
  • Method Details

    • viewAWTDistance2world

      double viewAWTDistance2world(int aDistance)
      Converts a distance in AWT view space to a distance in world space.
      Parameters:
      aDistance - the distance to be converted.
      Returns:
      the converted distance in world coordinates.
    • viewXYDistance2world

      double viewXYDistance2world(double aDistance)
      Converts a distance in AWT view space to a distance in world space.
      Parameters:
      aDistance - the distance to be converted.
      Returns:
      the converted distance in world coordinates.
    • worldDistance2view

      double worldDistance2view(double aDistance)
      Converts a distance in world space to a distance in AWT view space.
      Parameters:
      aDistance - the distance to be converted.
      Returns:
      the converted distance in view coordinates.
    • worldPoint2viewAWTPointSFCT

      void worldPoint2viewAWTPointSFCT(ILcdPoint aWorldPoint, Point aViewPointSFCT)
      Converts an ILcdPoint in world coordinates to an AWT Point in AWT view coordinates.
      Parameters:
      aWorldPoint - the world ILcdPoint to transform.
      aViewPointSFCT - the AWT Point to be set.
    • worldPoint2viewXYPointSFCT

      void worldPoint2viewXYPointSFCT(ILcdPoint aWorldPoint, ILcd2DEditablePoint aViewPointSFCT)
      Converts an ILcdPoint in world coordinates to a ILcd2DEditablePoint in AWT view coordinates.
      Parameters:
      aWorldPoint - the world ILcdPoint to transform.
      aViewPointSFCT - the AWT ILcd2DEditablePoint to be set.
    • viewAWTPoint2worldSFCT

      void viewAWTPoint2worldSFCT(Point aViewPoint, ILcd2DEditablePoint aWorldPointSFCT)
      Converts a Point in AWT view coordinates to a ILcd2DEditablePoint in world coordinates.
      Parameters:
      aViewPoint - the AWT view coordinate to transform.
      aWorldPointSFCT - the world point to be set.
    • viewXYPoint2worldSFCT

      void viewXYPoint2worldSFCT(ILcdPoint aViewPoint, ILcd2DEditablePoint aWorldPointSFCT)
      Converts an ILcdPoint in AWT view coordinates to a ILcd2DEditablePoint in world coordinates.
      Parameters:
      aViewPoint - the AWT view coordinate to transform.
      aWorldPointSFCT - the world point to be set.
    • viewXYPoint2worldSFCT

      void viewXYPoint2worldSFCT(int aX, int aY, ILcd2DEditablePoint aWorldPointSFCT)
      Converts a (x,y) location in AWT view coordinates to a ILcd2DEditablePoint in world coordinates.
      Parameters:
      aX - the x-value of the AWT view coordinate to transform.
      aY - the y-value of the AWT view coordinate to transform.
      aWorldPointSFCT - the world point to be set.
    • viewAWTBounds2worldSFCT

      void viewAWTBounds2worldSFCT(Rectangle aViewRectangle, ILcd2DEditableBounds aWorldBoundsSFCT)
      Converts a Rectangle in AWT view coordinates to a ILcd2DEditableBounds in world coordinates.
      Parameters:
      aViewRectangle - the bounds in AWT view coordinates to transform.
      aWorldBoundsSFCT - the transformed world bounds to be set by the transformation.
    • viewXYBounds2worldSFCT

      void viewXYBounds2worldSFCT(ILcdBounds aViewBounds, ILcd2DEditableBounds aWorldBoundsSFCT)
      Converts a ILcdBounds in AWT view coordinates to a ILcd2DEditableBounds in world coordinates.
      Parameters:
      aViewBounds - the bounds in AWT view coordinates to transform.
      aWorldBoundsSFCT - the transformed world bounds to be set by the transformation.
    • worldBounds2viewAWTSFCT

      void worldBounds2viewAWTSFCT(ILcdBounds aWorldBounds, Rectangle aViewRectangleSFCT)
      Converts a ILcdBounds in world coordinates to a Rectangle in AWT view coordinates.
      Parameters:
      aWorldBounds - the bounds in world coordinates to transform.
      aViewRectangleSFCT - the transformed AWT view bounds to be set by the transformation.
    • worldBounds2viewXYSFCT

      void worldBounds2viewXYSFCT(ILcdBounds aWorldBounds, ILcd2DEditableBounds aViewBoundsSFCT)
      Converts a ILcdBounds in world coordinates to a ILcd2DEditableBounds in AWT view coordinates.
      Parameters:
      aWorldBounds - the bounds in world coordinates to transform.
      aViewBoundsSFCT - the transformed AWT view bounds to be set by the transformation.
    • clone

      Returns a clone of this ILcdGXYViewXYWorldTransformation.
      Returns:
      a clone of this ILcdGXYViewXYWorldTransformation.
      Throws:
      CloneNotSupportedException - if the object's class does not support cloning. Subclasses that override the clone method can also throw this exception to indicate that an instance cannot be cloned.