Package com.luciad.view.gxy
Interface ILcdGXYViewXYWorldTransformation
- All Superinterfaces:
Cloneable
,Serializable
- All Known Implementing Classes:
TLcdGXYViewXYWorldTransformation
This interface defines all transformations between world coordinates and
AWT view coordinates.
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Returns a clone of thisILcdGXYViewXYWorldTransformation
.void
viewAWTBounds2worldSFCT
(Rectangle aViewRectangle, ILcd2DEditableBounds aWorldBoundsSFCT) Converts aRectangle
in AWT view coordinates to aILcd2DEditableBounds
in world coordinates.double
viewAWTDistance2world
(int aDistance) Converts a distance in AWT view space to a distance in world space.void
viewAWTPoint2worldSFCT
(Point aViewPoint, ILcd2DEditablePoint aWorldPointSFCT) Converts aPoint
in AWT view coordinates to aILcd2DEditablePoint
in world coordinates.void
viewXYBounds2worldSFCT
(ILcdBounds aViewBounds, ILcd2DEditableBounds aWorldBoundsSFCT) Converts aILcdBounds
in AWT view coordinates to aILcd2DEditableBounds
in world coordinates.double
viewXYDistance2world
(double aDistance) Converts a distance in AWT view space to a distance in world space.void
viewXYPoint2worldSFCT
(int aX, int aY, ILcd2DEditablePoint aWorldPointSFCT) Converts a (x,y) location in AWT view coordinates to aILcd2DEditablePoint
in world coordinates.void
viewXYPoint2worldSFCT
(ILcdPoint aViewPoint, ILcd2DEditablePoint aWorldPointSFCT) Converts anILcdPoint
in AWT view coordinates to aILcd2DEditablePoint
in world coordinates.void
worldBounds2viewAWTSFCT
(ILcdBounds aWorldBounds, Rectangle aViewRectangleSFCT) Converts aILcdBounds
in world coordinates to aRectangle
in AWT view coordinates.void
worldBounds2viewXYSFCT
(ILcdBounds aWorldBounds, ILcd2DEditableBounds aViewBoundsSFCT) Converts aILcdBounds
in world coordinates to aILcd2DEditableBounds
in AWT view coordinates.double
worldDistance2view
(double aDistance) Converts a distance in world space to a distance in AWT view space.void
worldPoint2viewAWTPointSFCT
(ILcdPoint aWorldPoint, Point aViewPointSFCT) Converts anILcdPoint
in world coordinates to an AWTPoint
in AWT view coordinates.void
worldPoint2viewXYPointSFCT
(ILcdPoint aWorldPoint, ILcd2DEditablePoint aViewPointSFCT) Converts anILcdPoint
in world coordinates to aILcd2DEditablePoint
in 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
Converts anILcdPoint
in world coordinates to an AWTPoint
in AWT view coordinates.- Parameters:
aWorldPoint
- the worldILcdPoint
to transform.aViewPointSFCT
- the AWTPoint
to be set.
-
worldPoint2viewXYPointSFCT
Converts anILcdPoint
in world coordinates to aILcd2DEditablePoint
in AWT view coordinates.- Parameters:
aWorldPoint
- the worldILcdPoint
to transform.aViewPointSFCT
- the AWTILcd2DEditablePoint
to be set.
-
viewAWTPoint2worldSFCT
Converts aPoint
in AWT view coordinates to aILcd2DEditablePoint
in world coordinates.- Parameters:
aViewPoint
- the AWT view coordinate to transform.aWorldPointSFCT
- the world point to be set.
-
viewXYPoint2worldSFCT
Converts anILcdPoint
in AWT view coordinates to aILcd2DEditablePoint
in world coordinates.- Parameters:
aViewPoint
- the AWT view coordinate to transform.aWorldPointSFCT
- the world point to be set.
-
viewXYPoint2worldSFCT
Converts a (x,y) location in AWT view coordinates to aILcd2DEditablePoint
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
Converts aRectangle
in AWT view coordinates to aILcd2DEditableBounds
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
Converts aILcdBounds
in AWT view coordinates to aILcd2DEditableBounds
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
Converts aILcdBounds
in world coordinates to aRectangle
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
Converts aILcdBounds
in world coordinates to aILcd2DEditableBounds
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 thisILcdGXYViewXYWorldTransformation
.- 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.
-