Package com.luciad.transformation
Class TLcdIdentityModelXYZWorldTransformation
java.lang.Object
com.luciad.transformation.TLcdIdentityModelXYZWorldTransformation
- All Implemented Interfaces:
ILcdModelXYZWorldTransformation
,Serializable
public class TLcdIdentityModelXYZWorldTransformation
extends Object
implements ILcdModelXYZWorldTransformation
This ILcdModelXYZWorldTransformation
defines an identify transformation between
an ILcdModelReference
and an ILcdXYZWorldReference
.
This implementation doesn't perform any transformation. It is a unitary operation,
assuming that the ILcdModelReference
and the ILcdXYZWorldReference
are the same coordinate system.
See TLcdDefaultModelXYZWorldTransformation
for a non-identity transformation that works with
all supported LuciadLightspeed references.
- Since:
- 2014.0
- See Also:
-
Constructor Summary
ConstructorDescriptionDefault constructor with a nullILcdModelReference
and a nullILcdXYZWorldReference
.TLcdIdentityModelXYZWorldTransformation
(ILcdModelReference aModelReference, ILcdXYZWorldReference aXYZWorldReference) Constructor with aILcdModelReference
and aILcdXYZWorldReference
. -
Method Summary
Modifier and TypeMethodDescriptionGets the model reference of thisILcdModelXYZWorldTransformation
.Gets the world reference of thisILcdModelXYZWorldTransformation
.void
modelBounds2worldSFCT
(ILcdBounds aModelBounds, ILcd3DEditableBounds aXYZBoundsSFCT) Transforms model bounds into world bounds.void
modelPoint2worldSFCT
(ILcdPoint aModelPoint, ILcd3DEditablePoint a3DWorldPointSFCT) Transforms a model point into a world point.void
setModelReference
(ILcdModelReference aModelReference) Sets the model reference of thisILcdModelXYZWorldTransformation
.void
setXYZWorldReference
(ILcdXYZWorldReference aXYZWorldReference) Sets the world reference of thisILcdModelXYZWorldTransformation
.void
worldBounds2modelSFCT
(ILcdBounds aXYZBounds, ILcd3DEditableBounds aModelBoundsSFCT) Transforms world bounds into model bounds.void
worldPoint2modelSFCT
(ILcdPoint aWorldPoint, ILcd3DEditablePoint aModelPointSFCT) Transforms a world point into a model point.
-
Constructor Details
-
TLcdIdentityModelXYZWorldTransformation
public TLcdIdentityModelXYZWorldTransformation()Default constructor with a nullILcdModelReference
and a nullILcdXYZWorldReference
. -
TLcdIdentityModelXYZWorldTransformation
public TLcdIdentityModelXYZWorldTransformation(ILcdModelReference aModelReference, ILcdXYZWorldReference aXYZWorldReference) Constructor with aILcdModelReference
and aILcdXYZWorldReference
.- Parameters:
aModelReference
- the model referenceaXYZWorldReference
- the world reference
-
-
Method Details
-
getModelReference
Description copied from interface:ILcdModelXYZWorldTransformation
Gets the model reference of thisILcdModelXYZWorldTransformation
.- Specified by:
getModelReference
in interfaceILcdModelXYZWorldTransformation
- Returns:
- the model reference of this
ILcdModelXYZWorldTransformation
. - See Also:
-
setModelReference
Description copied from interface:ILcdModelXYZWorldTransformation
Sets the model reference of thisILcdModelXYZWorldTransformation
.- Specified by:
setModelReference
in interfaceILcdModelXYZWorldTransformation
- Parameters:
aModelReference
- the model reference to be used in thisILcdModelXYZWorldTransformation
.- See Also:
-
getXYZWorldReference
Description copied from interface:ILcdModelXYZWorldTransformation
Gets the world reference of thisILcdModelXYZWorldTransformation
.- Specified by:
getXYZWorldReference
in interfaceILcdModelXYZWorldTransformation
- Returns:
- the world reference of this
ILcdModelXYZWorldTransformation
. - See Also:
-
setXYZWorldReference
Description copied from interface:ILcdModelXYZWorldTransformation
Sets the world reference of thisILcdModelXYZWorldTransformation
.- Specified by:
setXYZWorldReference
in interfaceILcdModelXYZWorldTransformation
- Parameters:
aXYZWorldReference
- the world reference to be used in thisILcdModelXYZWorldTransformation
.- See Also:
-
modelPoint2worldSFCT
public void modelPoint2worldSFCT(ILcdPoint aModelPoint, ILcd3DEditablePoint a3DWorldPointSFCT) throws TLcdOutOfBoundsException Description copied from interface:ILcdModelXYZWorldTransformation
Transforms a model point into a world point.- Specified by:
modelPoint2worldSFCT
in interfaceILcdModelXYZWorldTransformation
- Parameters:
aModelPoint
- coordinate in model reference system.a3DWorldPointSFCT
- coordinate in world reference system upon completion of the method.- Throws:
TLcdOutOfBoundsException
- if the model point is outside the valid area of the projection.
-
worldPoint2modelSFCT
public void worldPoint2modelSFCT(ILcdPoint aWorldPoint, ILcd3DEditablePoint aModelPointSFCT) throws TLcdOutOfBoundsException Description copied from interface:ILcdModelXYZWorldTransformation
Transforms a world point into a model point.- Specified by:
worldPoint2modelSFCT
in interfaceILcdModelXYZWorldTransformation
- Parameters:
aWorldPoint
- coordinate in world reference system.aModelPointSFCT
- coordinate in model reference system upon completion of the method.- Throws:
TLcdOutOfBoundsException
- if the world point is outside the valid area of the projection.
-
modelBounds2worldSFCT
public void modelBounds2worldSFCT(ILcdBounds aModelBounds, ILcd3DEditableBounds aXYZBoundsSFCT) throws TLcdNoBoundsException Description copied from interface:ILcdModelXYZWorldTransformation
Transforms model bounds into world bounds.- Specified by:
modelBounds2worldSFCT
in interfaceILcdModelXYZWorldTransformation
- Parameters:
aModelBounds
- bounds in model reference system.aXYZBoundsSFCT
- bounds in world reference system upon completion of the method.- Throws:
TLcdNoBoundsException
- if the model bounds doesn't have valid corresponding bounds in world space, or if it isundefined
.
-
worldBounds2modelSFCT
public void worldBounds2modelSFCT(ILcdBounds aXYZBounds, ILcd3DEditableBounds aModelBoundsSFCT) throws TLcdOutOfBoundsException Description copied from interface:ILcdModelXYZWorldTransformation
Transforms world bounds into model bounds.- Specified by:
worldBounds2modelSFCT
in interfaceILcdModelXYZWorldTransformation
- Parameters:
aXYZBounds
- bounds in world reference system.aModelBoundsSFCT
- bounds in model reference system upon completion of the method.- Throws:
TLcdOutOfBoundsException
- if the world bounds are outside the valid area of the projection, or if it isundefined
.
-