public class TLcdDefaultModelXYZWorldTransformation extends Object implements ILcdModelXYZWorldTransformation
ILcdModelXYZWorldTransformation
.
Transformations between any of the following references are supported:
ILcdGeodeticReference
ILcdGridReference
ILcdGeocentricReference
ILcdTopocentricReference
ILcdGeoidReference
Equal
referencesTLcdCartesianReference
instances.
Two TLcdCartesianReference
instances are considered compatible if, for each axis:
measure type code
.
In this case, unit-of-measure conversions are used for the transformation.Constructor and Description |
---|
TLcdDefaultModelXYZWorldTransformation()
Creates a new model world transformation.
|
TLcdDefaultModelXYZWorldTransformation(ILcdModelReference aModelReference,
ILcdXYZWorldReference aXYZWorldReference)
Creates a new model world transformation using the given model and world reference.
|
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 aModelReference)
Sets the model reference of this
ILcdModelXYZWorldTransformation . |
void |
setXYZWorldReference(ILcdXYZWorldReference aXYZWorldReference)
Sets the world reference of this
ILcdModelXYZWorldTransformation . |
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 TLcdDefaultModelXYZWorldTransformation()
setModelReference
and
setXYZWorldReference
first.public TLcdDefaultModelXYZWorldTransformation(ILcdModelReference aModelReference, ILcdXYZWorldReference aXYZWorldReference)
aModelReference
- the model reference to be used in this transformationaXYZWorldReference
- the world reference to be used in this transformationpublic void setModelReference(ILcdModelReference aModelReference)
ILcdModelXYZWorldTransformation
ILcdModelXYZWorldTransformation
.setModelReference
in interface ILcdModelXYZWorldTransformation
aModelReference
- the model reference to be used in this ILcdModelXYZWorldTransformation
.ILcdModelXYZWorldTransformation.getModelReference()
public void setXYZWorldReference(ILcdXYZWorldReference aXYZWorldReference)
ILcdModelXYZWorldTransformation
ILcdModelXYZWorldTransformation
.setXYZWorldReference
in interface ILcdModelXYZWorldTransformation
aXYZWorldReference
- the world reference to be used in this ILcdModelXYZWorldTransformation
.ILcdModelXYZWorldTransformation.getXYZWorldReference()
public ILcdModelReference getModelReference()
ILcdModelXYZWorldTransformation
ILcdModelXYZWorldTransformation
.getModelReference
in interface ILcdModelXYZWorldTransformation
ILcdModelXYZWorldTransformation
.ILcdModelXYZWorldTransformation.setModelReference(com.luciad.model.ILcdModelReference)
public ILcdXYZWorldReference getXYZWorldReference()
ILcdModelXYZWorldTransformation
ILcdModelXYZWorldTransformation
.getXYZWorldReference
in interface ILcdModelXYZWorldTransformation
ILcdModelXYZWorldTransformation
.ILcdModelXYZWorldTransformation.setXYZWorldReference(com.luciad.view.ILcdXYZWorldReference)
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 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 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
.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.