Package com.luciad.view.gxy
Class TLcdGXYViewModelTransformation
java.lang.Object
com.luciad.view.gxy.TLcdGXYViewModelTransformation
- All Implemented Interfaces:
ILcdGXYViewModelTransformation
,Serializable
public class TLcdGXYViewModelTransformation
extends Object
implements ILcdGXYViewModelTransformation
This an implementation of the
ILcdGXYViewModelTransformation
interface.- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected ILcdGXYViewXYWorldTransformation
protected ILcdModelXYWorldTransformation
-
Constructor Summary
ConstructorDescriptionTLcdGXYViewModelTransformation
(ILcdGXYViewXYWorldTransformation aGXYViewXYWorldTransformation, ILcdModelXYWorldTransformation aModelXYWorldTransformation) -
Method Summary
Modifier and TypeMethodDescriptionReturns a reference to theILcdGXYViewXYWorldTransformation
.Returns a reference to theILcdModelXYWorldTransformation
.void
modelPoint2viewAWTPointSFCT
(ILcdPoint aModelPoint, Point aPointSFCT) Converts aILcdPoint
in model coordinates to a Point in view coordinates.void
modelPoint2viewXYPointSFCT
(ILcdPoint aModelPoint, ILcd2DEditablePoint a2DEditablePointSFCT) void
setGXYViewXYWorldTransformation
(ILcdGXYViewXYWorldTransformation aGXYViewXYWorldTransformation) Sets a reference to theILcdGXYViewXYWorldTransformation
.void
setModelXYWorldTransformation
(ILcdModelXYWorldTransformation aModelXYWorldTransformation) Returns a reference to theILcdModelXYWorldTransformation
.void
viewAWTPoint2modelSFCT
(Point aViewPoint, ILcd3DEditablePoint aModelPointSFCT) Converts aPoint
in view coordinates to aILcdPoint
in model coordinates.void
viewXYPoint2modelSFCT
(int x, int y, ILcd3DEditablePoint aModelPointSFCT) void
viewXYPoint2modelSFCT
(ILcdPoint aViewPoint, ILcd3DEditablePoint aModelPointSFCT)
-
Field Details
-
fGXYViewXYWorldTransformation
-
fModelXYWorldTransformation
-
-
Constructor Details
-
TLcdGXYViewModelTransformation
public TLcdGXYViewModelTransformation() -
TLcdGXYViewModelTransformation
public TLcdGXYViewModelTransformation(ILcdGXYViewXYWorldTransformation aGXYViewXYWorldTransformation, ILcdModelXYWorldTransformation aModelXYWorldTransformation)
-
-
Method Details
-
getGXYViewXYWorldTransformation
Description copied from interface:ILcdGXYViewModelTransformation
Returns a reference to theILcdGXYViewXYWorldTransformation
.- Specified by:
getGXYViewXYWorldTransformation
in interfaceILcdGXYViewModelTransformation
-
setGXYViewXYWorldTransformation
public void setGXYViewXYWorldTransformation(ILcdGXYViewXYWorldTransformation aGXYViewXYWorldTransformation) Description copied from interface:ILcdGXYViewModelTransformation
Sets a reference to theILcdGXYViewXYWorldTransformation
.- Specified by:
setGXYViewXYWorldTransformation
in interfaceILcdGXYViewModelTransformation
-
getModelXYWorldTransformation
Description copied from interface:ILcdGXYViewModelTransformation
Returns a reference to theILcdModelXYWorldTransformation
.- Specified by:
getModelXYWorldTransformation
in interfaceILcdGXYViewModelTransformation
-
setModelXYWorldTransformation
public void setModelXYWorldTransformation(ILcdModelXYWorldTransformation aModelXYWorldTransformation) Description copied from interface:ILcdGXYViewModelTransformation
Returns a reference to theILcdModelXYWorldTransformation
.- Specified by:
setModelXYWorldTransformation
in interfaceILcdGXYViewModelTransformation
-
modelPoint2viewAWTPointSFCT
public void modelPoint2viewAWTPointSFCT(ILcdPoint aModelPoint, Point aPointSFCT) throws TLcdOutOfBoundsException Description copied from interface:ILcdGXYViewModelTransformation
Converts aILcdPoint
in model coordinates to a Point in view coordinates.- Specified by:
modelPoint2viewAWTPointSFCT
in interfaceILcdGXYViewModelTransformation
- Parameters:
aModelPoint
-ILcdPoint
to be converted.- Throws:
TLcdOutOfBoundsException
-
modelPoint2viewXYPointSFCT
public void modelPoint2viewXYPointSFCT(ILcdPoint aModelPoint, ILcd2DEditablePoint a2DEditablePointSFCT) throws TLcdOutOfBoundsException - Specified by:
modelPoint2viewXYPointSFCT
in interfaceILcdGXYViewModelTransformation
- Throws:
TLcdOutOfBoundsException
-
viewAWTPoint2modelSFCT
public void viewAWTPoint2modelSFCT(Point aViewPoint, ILcd3DEditablePoint aModelPointSFCT) throws TLcdOutOfBoundsException Description copied from interface:ILcdGXYViewModelTransformation
Converts aPoint
in view coordinates to aILcdPoint
in model coordinates.- Specified by:
viewAWTPoint2modelSFCT
in interfaceILcdGXYViewModelTransformation
- Parameters:
aViewPoint
- point in view coordinates to be converted.- Throws:
TLcdOutOfBoundsException
-
viewXYPoint2modelSFCT
public void viewXYPoint2modelSFCT(ILcdPoint aViewPoint, ILcd3DEditablePoint aModelPointSFCT) throws TLcdOutOfBoundsException - Specified by:
viewXYPoint2modelSFCT
in interfaceILcdGXYViewModelTransformation
- Throws:
TLcdOutOfBoundsException
-
viewXYPoint2modelSFCT
public void viewXYPoint2modelSFCT(int x, int y, ILcd3DEditablePoint aModelPointSFCT) throws TLcdOutOfBoundsException - Specified by:
viewXYPoint2modelSFCT
in interfaceILcdGXYViewModelTransformation
- Throws:
TLcdOutOfBoundsException
-