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 (toolkit) view coordinates.
-
Method Summary
Modifier and TypeMethodDescriptionclone()Returns a clone of thisILcdGXYViewXYWorldTransformation.voidviewAWTBounds2worldSFCT(Rectangle aViewRectangle, ILcd2DEditableBounds aWorldBoundsSFCT) Converts aRectanglein AWT (toolkit) view coordinates to aILcd2DEditableBoundsin world coordinates.doubleviewAWTDistance2world(int aDistance) Converts a distance in AWT (toolkit) view space to a distance in world space.voidviewAWTPoint2worldSFCT(Point aViewPoint, ILcd2DEditablePoint aWorldPointSFCT) Converts aPointin AWT (toolkit) view coordinates to aILcd2DEditablePointin world coordinates.voidviewXYBounds2worldSFCT(ILcdBounds aViewBounds, ILcd2DEditableBounds aWorldBoundsSFCT) Converts aILcdBoundsin AWT (toolkit) view coordinates to aILcd2DEditableBoundsin world coordinates.doubleviewXYDistance2world(double aDistance) Converts a distance in AWT (toolkit) view space to a distance in world space.voidviewXYPoint2worldSFCT(int aX, int aY, ILcd2DEditablePoint aWorldPointSFCT) Converts a (x,y) location in AWT (toolkit) view coordinates to aILcd2DEditablePointin world coordinates.voidviewXYPoint2worldSFCT(ILcdPoint aViewPoint, ILcd2DEditablePoint aWorldPointSFCT) Converts anILcdPointin AWT (toolkit) view coordinates to aILcd2DEditablePointin world coordinates.voidworldBounds2viewAWTSFCT(ILcdBounds aWorldBounds, Rectangle aViewRectangleSFCT) Converts aILcdBoundsin world coordinates to aRectanglein AWT (toolkit) view coordinates.voidworldBounds2viewXYSFCT(ILcdBounds aWorldBounds, ILcd2DEditableBounds aViewBoundsSFCT) Converts aILcdBoundsin world coordinates to aILcd2DEditableBoundsin AWT (toolkit) view coordinates.doubleworldDistance2view(double aDistance) Converts a distance in world space to a distance in AWT (toolkit) view space.voidworldPoint2viewAWTPointSFCT(ILcdPoint aWorldPoint, Point aViewPointSFCT) Converts anILcdPointin world coordinates to an AWTPointin AWT (toolkit) view coordinates.voidworldPoint2viewXYPointSFCT(ILcdPoint aWorldPoint, ILcd2DEditablePoint aViewPointSFCT) Converts anILcdPointin world coordinates to aILcd2DEditablePointin AWT (toolkit) view coordinates.
-
Method Details
-
viewAWTDistance2world
double viewAWTDistance2world(int aDistance) Converts a distance in AWT (toolkit) 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 (toolkit) 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 (toolkit) view space.- Parameters:
aDistance- the distance to be converted.- Returns:
- the converted distance in view coordinates.
-
worldPoint2viewAWTPointSFCT
Converts anILcdPointin world coordinates to an AWTPointin AWT (toolkit) view coordinates.- Parameters:
aWorldPoint- the worldILcdPointto transform.aViewPointSFCT- the AWTPointto be set.
-
worldPoint2viewXYPointSFCT
Converts anILcdPointin world coordinates to aILcd2DEditablePointin AWT (toolkit) view coordinates.- Parameters:
aWorldPoint- the worldILcdPointto transform.aViewPointSFCT- the AWTILcd2DEditablePointto be set.
-
viewAWTPoint2worldSFCT
Converts aPointin AWT (toolkit) view coordinates to aILcd2DEditablePointin world coordinates.- Parameters:
aViewPoint- the AWT view coordinate to transform.aWorldPointSFCT- the world point to be set.
-
viewXYPoint2worldSFCT
Converts anILcdPointin AWT (toolkit) view coordinates to aILcd2DEditablePointin 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 (toolkit) view coordinates to aILcd2DEditablePointin 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 aRectanglein AWT (toolkit) view coordinates to aILcd2DEditableBoundsin 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 aILcdBoundsin AWT (toolkit) view coordinates to aILcd2DEditableBoundsin 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 aILcdBoundsin world coordinates to aRectanglein AWT (toolkit) 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 aILcdBoundsin world coordinates to aILcd2DEditableBoundsin AWT (toolkit) 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.
-