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
FieldsModifier and TypeFieldDescriptionprotected ILcdGXYViewXYWorldTransformationprotected ILcdModelXYWorldTransformation -
Constructor Summary
ConstructorsConstructorDescriptionTLcdGXYViewModelTransformation(ILcdGXYViewXYWorldTransformation aGXYViewXYWorldTransformation, ILcdModelXYWorldTransformation aModelXYWorldTransformation) -
Method Summary
Modifier and TypeMethodDescriptionReturns a reference to theILcdGXYViewXYWorldTransformation.Returns a reference to theILcdModelXYWorldTransformation.voidmodelPoint2viewAWTPointSFCT(ILcdPoint aModelPoint, Point aPointSFCT) Converts aILcdPointin model coordinates to a Point in view coordinates.voidmodelPoint2viewXYPointSFCT(ILcdPoint aModelPoint, ILcd2DEditablePoint a2DEditablePointSFCT) voidsetGXYViewXYWorldTransformation(ILcdGXYViewXYWorldTransformation aGXYViewXYWorldTransformation) Sets a reference to theILcdGXYViewXYWorldTransformation.voidsetModelXYWorldTransformation(ILcdModelXYWorldTransformation aModelXYWorldTransformation) Returns a reference to theILcdModelXYWorldTransformation.voidviewAWTPoint2modelSFCT(Point aViewPoint, ILcd3DEditablePoint aModelPointSFCT) Converts aPointin view coordinates to aILcdPointin model coordinates.voidviewXYPoint2modelSFCT(int x, int y, ILcd3DEditablePoint aModelPointSFCT) voidviewXYPoint2modelSFCT(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:ILcdGXYViewModelTransformationReturns a reference to theILcdGXYViewXYWorldTransformation.- Specified by:
getGXYViewXYWorldTransformationin interfaceILcdGXYViewModelTransformation
-
setGXYViewXYWorldTransformation
public void setGXYViewXYWorldTransformation(ILcdGXYViewXYWorldTransformation aGXYViewXYWorldTransformation) Description copied from interface:ILcdGXYViewModelTransformationSets a reference to theILcdGXYViewXYWorldTransformation.- Specified by:
setGXYViewXYWorldTransformationin interfaceILcdGXYViewModelTransformation
-
getModelXYWorldTransformation
Description copied from interface:ILcdGXYViewModelTransformationReturns a reference to theILcdModelXYWorldTransformation.- Specified by:
getModelXYWorldTransformationin interfaceILcdGXYViewModelTransformation
-
setModelXYWorldTransformation
public void setModelXYWorldTransformation(ILcdModelXYWorldTransformation aModelXYWorldTransformation) Description copied from interface:ILcdGXYViewModelTransformationReturns a reference to theILcdModelXYWorldTransformation.- Specified by:
setModelXYWorldTransformationin interfaceILcdGXYViewModelTransformation
-
modelPoint2viewAWTPointSFCT
public void modelPoint2viewAWTPointSFCT(ILcdPoint aModelPoint, Point aPointSFCT) throws TLcdOutOfBoundsException Description copied from interface:ILcdGXYViewModelTransformationConverts aILcdPointin model coordinates to a Point in view coordinates.- Specified by:
modelPoint2viewAWTPointSFCTin interfaceILcdGXYViewModelTransformation- Parameters:
aModelPoint-ILcdPointto be converted.- Throws:
TLcdOutOfBoundsException
-
modelPoint2viewXYPointSFCT
public void modelPoint2viewXYPointSFCT(ILcdPoint aModelPoint, ILcd2DEditablePoint a2DEditablePointSFCT) throws TLcdOutOfBoundsException - Specified by:
modelPoint2viewXYPointSFCTin interfaceILcdGXYViewModelTransformation- Throws:
TLcdOutOfBoundsException
-
viewAWTPoint2modelSFCT
public void viewAWTPoint2modelSFCT(Point aViewPoint, ILcd3DEditablePoint aModelPointSFCT) throws TLcdOutOfBoundsException Description copied from interface:ILcdGXYViewModelTransformationConverts aPointin view coordinates to aILcdPointin model coordinates.- Specified by:
viewAWTPoint2modelSFCTin interfaceILcdGXYViewModelTransformation- Parameters:
aViewPoint- point in view coordinates to be converted.- Throws:
TLcdOutOfBoundsException
-
viewXYPoint2modelSFCT
public void viewXYPoint2modelSFCT(ILcdPoint aViewPoint, ILcd3DEditablePoint aModelPointSFCT) throws TLcdOutOfBoundsException - Specified by:
viewXYPoint2modelSFCTin interfaceILcdGXYViewModelTransformation- Throws:
TLcdOutOfBoundsException
-
viewXYPoint2modelSFCT
public void viewXYPoint2modelSFCT(int x, int y, ILcd3DEditablePoint aModelPointSFCT) throws TLcdOutOfBoundsException - Specified by:
viewXYPoint2modelSFCTin interfaceILcdGXYViewModelTransformation- Throws:
TLcdOutOfBoundsException
-