public class TLcdLinearModelZWorldTransformation extends Object implements ILcdModelZWorldTransformation
ILcdGridReference
, values will also be scaled using the unit of
measure of the world reference.Constructor and Description |
---|
TLcdLinearModelZWorldTransformation()
Creates a new linear model to world transformation using 1 as scale factor.
|
TLcdLinearModelZWorldTransformation(double aFactor)
Creates a new linear model to world transformation using a specified scale factor.
|
Modifier and Type | Method and Description |
---|---|
ILcdModelReference |
getModelReference()
Returns the model reference that is taken into account when transforming points.
|
ILcdXYZWorldReference |
getWorldReference()
Returns the world reference that is taken into account when transforming points.
|
double |
modelZ2worldZ(ILcdPoint aModelPoint)
Transforms a specified model z value to a world z value.
|
void |
setModelReference(ILcdModelReference aModelReference)
Sets the model reference that will be taken into account when transforming points.
|
void |
setWorldReference(ILcdXYZWorldReference aWorldReference)
Sets the world reference that will be taken into account when transforming points.
|
double |
worldZ2ModelZ(ILcdPoint aWorldPoint)
Transforms a specified world z value to a model z value.
|
public TLcdLinearModelZWorldTransformation()
public TLcdLinearModelZWorldTransformation(double aFactor)
aFactor
- the linear scale factor used to transform model values in to world valuespublic ILcdModelReference getModelReference()
ILcdModelZWorldTransformation
getModelReference
in interface ILcdModelZWorldTransformation
ILcdModelZWorldTransformation.setModelReference(com.luciad.model.ILcdModelReference)
public void setModelReference(ILcdModelReference aModelReference)
ILcdModelZWorldTransformation
setModelReference
in interface ILcdModelZWorldTransformation
aModelReference
- the model reference that will be taken into account when transforming pointsILcdModelZWorldTransformation.getModelReference()
public ILcdXYZWorldReference getWorldReference()
ILcdModelZWorldTransformation
getWorldReference
in interface ILcdModelZWorldTransformation
ILcdModelZWorldTransformation.setWorldReference(com.luciad.view.ILcdXYZWorldReference)
public void setWorldReference(ILcdXYZWorldReference aWorldReference)
ILcdModelZWorldTransformation
setWorldReference
in interface ILcdModelZWorldTransformation
aWorldReference
- the world reference that will be taken into account when transforming pointsILcdModelZWorldTransformation.getWorldReference()
public double modelZ2worldZ(ILcdPoint aModelPoint)
ILcdModelZWorldTransformation
modelZ2worldZ
in interface ILcdModelZWorldTransformation
aModelPoint
- the model point for which to transform the z valueILcdModelZWorldTransformation.worldZ2ModelZ(com.luciad.shape.ILcdPoint)
public double worldZ2ModelZ(ILcdPoint aWorldPoint)
ILcdModelZWorldTransformation
worldZ2ModelZ
in interface ILcdModelZWorldTransformation
aWorldPoint
- the world point for which to transform the z valueILcdModelZWorldTransformation.modelZ2worldZ(com.luciad.shape.ILcdPoint)