public class TLcdCompositeModelXYZWorldTransformation extends Object implements ILcdModelXYZWorldTransformation
ILcdModelXYWorldTransformation
. The z values are transformed using
a ILcdModelZWorldTransformation
.Constructor and Description |
---|
TLcdCompositeModelXYZWorldTransformation()
Creates a new
TLcdCompositeModelXYZWorldTransformation without a wrapped xy- and z transformation. |
TLcdCompositeModelXYZWorldTransformation(ILcdModelXYWorldTransformation aWrappedTransformation,
ILcdModelZWorldTransformation aZTransformation)
Creates a new
TLcdCompositeModelXYZWorldTransformation with the
given xy- and z transformation. |
Modifier and Type | Method and Description |
---|---|
ILcdModelReference |
getModelReference()
Gets the model reference of this
ILcdModelXYZWorldTransformation . |
ILcdXYZWorldReference |
getXYZWorldReference()
Gets the world reference of this
ILcdModelXYZWorldTransformation . |
void |
modelBounds2worldSFCT(ILcdBounds aBounds,
ILcd3DEditableBounds aEditableBounds)
Transforms model bounds into world bounds.
|
void |
modelPoint2worldSFCT(ILcdPoint aPoint,
ILcd3DEditablePoint aEditablePoint)
Transforms a model point into a world point.
|
void |
setModelReference(ILcdModelReference aReference)
Sets the model reference of this
ILcdModelXYZWorldTransformation . |
void |
setXYTransformation(ILcdModelXYWorldTransformation aXYTransformation)
Sets the wrapped xy transformation.
|
void |
setXYZWorldReference(ILcdXYZWorldReference aReference)
Sets the world reference of this
ILcdModelXYZWorldTransformation . |
void |
setZTransformation(ILcdModelZWorldTransformation aZTransformation)
Sets the wrapped z transformation.
|
void |
worldBounds2modelSFCT(ILcdBounds aBounds,
ILcd3DEditableBounds aEditableBounds)
Transforms world bounds into model bounds.
|
void |
worldPoint2modelSFCT(ILcdPoint aPoint,
ILcd3DEditablePoint aEditablePoint)
Transforms a world point into a model point.
|
public TLcdCompositeModelXYZWorldTransformation()
TLcdCompositeModelXYZWorldTransformation
without a wrapped xy- and z transformation.
Before the newly created instance can be used usefully, the wrapped transformations must be set.public TLcdCompositeModelXYZWorldTransformation(ILcdModelXYWorldTransformation aWrappedTransformation, ILcdModelZWorldTransformation aZTransformation)
TLcdCompositeModelXYZWorldTransformation
with the
given xy- and z transformation.aWrappedTransformation
- the transformation that will be used to transform lon-lat/x-y valuesaZTransformation
- the transformation that will be used to transform z valuespublic void setXYTransformation(ILcdModelXYWorldTransformation aXYTransformation)
aXYTransformation
- the new wrapped xy transformationsetZTransformation(com.luciad.transformation.ILcdModelZWorldTransformation)
public void setZTransformation(ILcdModelZWorldTransformation aZTransformation)
aZTransformation
- the new wrapped z transformationsetXYTransformation(com.luciad.transformation.ILcdModelXYWorldTransformation)
public void setModelReference(ILcdModelReference aReference)
ILcdModelXYZWorldTransformation
ILcdModelXYZWorldTransformation
.setModelReference
in interface ILcdModelXYZWorldTransformation
aReference
- the model reference to be used in this ILcdModelXYZWorldTransformation
.ILcdModelXYZWorldTransformation.getModelReference()
public ILcdModelReference getModelReference()
ILcdModelXYZWorldTransformation
ILcdModelXYZWorldTransformation
.getModelReference
in interface ILcdModelXYZWorldTransformation
ILcdModelXYZWorldTransformation
.ILcdModelXYZWorldTransformation.setModelReference(com.luciad.model.ILcdModelReference)
public void setXYZWorldReference(ILcdXYZWorldReference aReference)
ILcdModelXYZWorldTransformation
ILcdModelXYZWorldTransformation
.setXYZWorldReference
in interface ILcdModelXYZWorldTransformation
aReference
- the world reference to be used in this ILcdModelXYZWorldTransformation
.ILcdModelXYZWorldTransformation.getXYZWorldReference()
public ILcdXYZWorldReference getXYZWorldReference()
ILcdModelXYZWorldTransformation
ILcdModelXYZWorldTransformation
.getXYZWorldReference
in interface ILcdModelXYZWorldTransformation
ILcdModelXYZWorldTransformation
.ILcdModelXYZWorldTransformation.setXYZWorldReference(com.luciad.view.ILcdXYZWorldReference)
public void modelPoint2worldSFCT(ILcdPoint aPoint, ILcd3DEditablePoint aEditablePoint) throws TLcdOutOfBoundsException
ILcdModelXYZWorldTransformation
modelPoint2worldSFCT
in interface ILcdModelXYZWorldTransformation
aPoint
- coordinate in model reference system.aEditablePoint
- coordinate in world reference system upon completion of the method.TLcdOutOfBoundsException
- if the model point is outside the valid area of the projection.public void worldPoint2modelSFCT(ILcdPoint aPoint, ILcd3DEditablePoint aEditablePoint) throws TLcdOutOfBoundsException
ILcdModelXYZWorldTransformation
worldPoint2modelSFCT
in interface ILcdModelXYZWorldTransformation
aPoint
- coordinate in world reference system.aEditablePoint
- coordinate in model reference system upon completion of the method.TLcdOutOfBoundsException
- if the world point is outside the valid area of the projection.public void modelBounds2worldSFCT(ILcdBounds aBounds, ILcd3DEditableBounds aEditableBounds) throws TLcdNoBoundsException
ILcdModelXYZWorldTransformation
modelBounds2worldSFCT
in interface ILcdModelXYZWorldTransformation
aBounds
- bounds in model reference system.aEditableBounds
- bounds in world reference system upon completion of the method.TLcdNoBoundsException
- if the model bounds doesn't have valid corresponding bounds in world space, or if it is undefined
.public void worldBounds2modelSFCT(ILcdBounds aBounds, ILcd3DEditableBounds aEditableBounds) throws TLcdOutOfBoundsException
ILcdModelXYZWorldTransformation
worldBounds2modelSFCT
in interface ILcdModelXYZWorldTransformation
aBounds
- bounds in world reference system.aEditableBounds
- bounds in model reference system upon completion of the method.TLcdOutOfBoundsException
- if the world bounds are outside the valid area of the projection, or if it is undefined
.