public class TLcdGXYViewModelTransformation extends Object implements ILcdGXYViewModelTransformation
ILcdGXYViewModelTransformation
interface.Modifier and Type | Field and Description |
---|---|
protected ILcdGXYViewXYWorldTransformation |
fGXYViewXYWorldTransformation |
protected ILcdModelXYWorldTransformation |
fModelXYWorldTransformation |
Constructor and Description |
---|
TLcdGXYViewModelTransformation() |
TLcdGXYViewModelTransformation(ILcdGXYViewXYWorldTransformation aGXYViewXYWorldTransformation,
ILcdModelXYWorldTransformation aModelXYWorldTransformation) |
Modifier and Type | Method and Description |
---|---|
ILcdGXYViewXYWorldTransformation |
getGXYViewXYWorldTransformation()
Returns a reference to the
ILcdGXYViewXYWorldTransformation . |
ILcdModelXYWorldTransformation |
getModelXYWorldTransformation()
Returns a reference to the
ILcdModelXYWorldTransformation . |
void |
modelPoint2viewAWTPointSFCT(ILcdPoint aModelPoint,
Point aPointSFCT)
Converts a
ILcdPoint in model coordinates to a Point
in view coordinates. |
void |
modelPoint2viewXYPointSFCT(ILcdPoint aModelPoint,
ILcd2DEditablePoint a2DEditablePointSFCT) |
void |
setGXYViewXYWorldTransformation(ILcdGXYViewXYWorldTransformation aGXYViewXYWorldTransformation)
Sets a reference to the
ILcdGXYViewXYWorldTransformation . |
void |
setModelXYWorldTransformation(ILcdModelXYWorldTransformation aModelXYWorldTransformation)
Returns a reference to the
ILcdModelXYWorldTransformation . |
void |
viewAWTPoint2modelSFCT(Point aViewPoint,
ILcd3DEditablePoint aModelPointSFCT)
Converts a
Point in view coordinates to a ILcdPoint
in model coordinates. |
void |
viewXYPoint2modelSFCT(ILcdPoint aViewPoint,
ILcd3DEditablePoint aModelPointSFCT) |
void |
viewXYPoint2modelSFCT(int x,
int y,
ILcd3DEditablePoint aModelPointSFCT) |
protected ILcdGXYViewXYWorldTransformation fGXYViewXYWorldTransformation
protected ILcdModelXYWorldTransformation fModelXYWorldTransformation
public TLcdGXYViewModelTransformation()
public TLcdGXYViewModelTransformation(ILcdGXYViewXYWorldTransformation aGXYViewXYWorldTransformation, ILcdModelXYWorldTransformation aModelXYWorldTransformation)
public ILcdGXYViewXYWorldTransformation getGXYViewXYWorldTransformation()
ILcdGXYViewModelTransformation
ILcdGXYViewXYWorldTransformation
.getGXYViewXYWorldTransformation
in interface ILcdGXYViewModelTransformation
public void setGXYViewXYWorldTransformation(ILcdGXYViewXYWorldTransformation aGXYViewXYWorldTransformation)
ILcdGXYViewModelTransformation
ILcdGXYViewXYWorldTransformation
.setGXYViewXYWorldTransformation
in interface ILcdGXYViewModelTransformation
public ILcdModelXYWorldTransformation getModelXYWorldTransformation()
ILcdGXYViewModelTransformation
ILcdModelXYWorldTransformation
.getModelXYWorldTransformation
in interface ILcdGXYViewModelTransformation
public void setModelXYWorldTransformation(ILcdModelXYWorldTransformation aModelXYWorldTransformation)
ILcdGXYViewModelTransformation
ILcdModelXYWorldTransformation
.setModelXYWorldTransformation
in interface ILcdGXYViewModelTransformation
public void modelPoint2viewAWTPointSFCT(ILcdPoint aModelPoint, Point aPointSFCT) throws TLcdOutOfBoundsException
ILcdGXYViewModelTransformation
ILcdPoint
in model coordinates to a Point
in view coordinates.modelPoint2viewAWTPointSFCT
in interface ILcdGXYViewModelTransformation
aModelPoint
- ILcdPoint
to be converted.TLcdOutOfBoundsException
public void modelPoint2viewXYPointSFCT(ILcdPoint aModelPoint, ILcd2DEditablePoint a2DEditablePointSFCT) throws TLcdOutOfBoundsException
modelPoint2viewXYPointSFCT
in interface ILcdGXYViewModelTransformation
TLcdOutOfBoundsException
public void viewAWTPoint2modelSFCT(Point aViewPoint, ILcd3DEditablePoint aModelPointSFCT) throws TLcdOutOfBoundsException
ILcdGXYViewModelTransformation
Point
in view coordinates to a ILcdPoint
in model coordinates.viewAWTPoint2modelSFCT
in interface ILcdGXYViewModelTransformation
aViewPoint
- point in view coordinates to be converted.TLcdOutOfBoundsException
public void viewXYPoint2modelSFCT(ILcdPoint aViewPoint, ILcd3DEditablePoint aModelPointSFCT) throws TLcdOutOfBoundsException
viewXYPoint2modelSFCT
in interface ILcdGXYViewModelTransformation
TLcdOutOfBoundsException
public void viewXYPoint2modelSFCT(int x, int y, ILcd3DEditablePoint aModelPointSFCT) throws TLcdOutOfBoundsException
viewXYPoint2modelSFCT
in interface ILcdGXYViewModelTransformation
TLcdOutOfBoundsException