ILcdGeoidReference
has become deprecated
due to the new vertical datum support in com.luciad.geodesy.ILcdGeodeticDatum
which allows to use geoids for all ILcdGeoReference
instances.public final class TLcdGeoid2Grid extends Object implements ILcdModelXYWorldTransformation, Cloneable
ILcdModelXYWorldTransformation
defines a transformation between
an ILcdGeoidReference
and an ILcdXYWorldReference
.
It is required that the reference datum of the geodetic datum of the
ILcdGeoidReference
and the reference datum of the
ILcdXYWorldReference
are the same.
This class is thread safe.
TLcdGeodeticDatum.getRefDatum()
,
Serialized FormConstructor and Description |
---|
TLcdGeoid2Grid()
Deprecated.
Default constructor with
null ILcdGeoidReference
and null ILcdProjectionReference . |
TLcdGeoid2Grid(ILcdModelReference aModelReferenceGeoid,
ILcdXYWorldReference aXYWorldReferenceGrid)
Deprecated.
Constructor with an
ILcdGeoidReference and an
ILcdProjectionReference . |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Deprecated.
Implements a deep clone.
|
int |
getDiv()
Deprecated.
Gets the number of divisions made for bounding box transformations.
|
ILcdModelReference |
getModelReference()
Deprecated.
Gets the
ILcdModelReference of this TLcdGeoid2Grid . |
ILcdXYWorldReference |
getXYWorldReference()
Deprecated.
Gets the
ILcdXYWorldReference of this TLcdGeoid2Grid . |
void |
modelBounds2worldSFCT(ILcdBounds aModelBounds,
ILcd2DEditableBounds aWorldBoundsSFCT)
Deprecated.
Transforms model bounds into world bounds.
|
void |
modelPoint2worldSFCT(ILcdPoint aModelPoint,
ILcd2DEditablePoint aWorldPoint)
Deprecated.
Transforms a model point into a world point.
|
void |
setDiv(int aDiv)
Deprecated.
The property
aDiv indicates the number of divisions
made for bounding box transformations from world to model in order
to approximate the bounding box of the model. |
void |
setModelReference(ILcdModelReference aModelReference)
Deprecated.
Sets the
ILcdModelReference of this TLcdGeoid2Grid . |
void |
setXYWorldReference(ILcdXYWorldReference aXYWorldReference)
Deprecated.
Sets the
ILcdXYWorldReference of this TLcdGeoid2Grid . |
void |
worldBounds2modelSFCT(ILcdBounds aWorldBounds,
ILcd3DEditableBounds aModelBoundsSFCT)
Deprecated.
Transforms world bounds into model bounds.
|
void |
worldPoint2modelSFCT(ILcdPoint aWorldPoint,
ILcd3DEditablePoint aModelPointSFCT)
Deprecated.
Transforms a world point into a model point.
|
public TLcdGeoid2Grid()
null
ILcdGeoidReference
and null
ILcdProjectionReference
.public TLcdGeoid2Grid(ILcdModelReference aModelReferenceGeoid, ILcdXYWorldReference aXYWorldReferenceGrid)
ILcdGeoidReference
and an
ILcdProjectionReference
.aModelReferenceGeoid
- ILcdModelReference that is also an ILcdGeoidReference.aXYWorldReferenceGrid
- ILcdXYWorldReference that is also an ILcdGridReference.public ILcdModelReference getModelReference()
ILcdModelReference
of this TLcdGeoid2Grid
.getModelReference
in interface ILcdModelXYWorldTransformation
ILcdModelReference
of this TLcdGeoid2Grid
.setModelReference(com.luciad.model.ILcdModelReference)
public void setModelReference(ILcdModelReference aModelReference)
ILcdModelReference
of this TLcdGeoid2Grid
.setModelReference
in interface ILcdModelXYWorldTransformation
aModelReference
- ILcdModelReference that is also an ILcdGeoidReference.IllegalArgumentException
- when the model reference passed is not an
instance of ILcdGeoidReference
getModelReference()
public ILcdXYWorldReference getXYWorldReference()
ILcdXYWorldReference
of this TLcdGeoid2Grid
.getXYWorldReference
in interface ILcdModelXYWorldTransformation
ILcdXYWorldReference
of this TLcdGeoid2Grid
.setXYWorldReference(com.luciad.view.ILcdXYWorldReference)
public void setXYWorldReference(ILcdXYWorldReference aXYWorldReference)
ILcdXYWorldReference
of this TLcdGeoid2Grid
.setXYWorldReference
in interface ILcdModelXYWorldTransformation
aXYWorldReference
- ILcdXYWorldReference that is also an ILcdGridReference.IllegalArgumentException
- when the world reference passed is not an
instance of ILcdGridReference
.getXYWorldReference()
public void setDiv(int aDiv)
aDiv
indicates the number of divisions
made for bounding box transformations from world to model in order
to approximate the bounding box of the model.
The number of point transformations performed is proportional
to aDiv*aDiv
.
The more divisions, the more precise the model bounding box will be.aDiv
- number of divisions to use for bounding box transformations.getDiv()
public int getDiv()
setDiv(int)
public void modelPoint2worldSFCT(ILcdPoint aModelPoint, ILcd2DEditablePoint aWorldPoint) throws TLcdOutOfBoundsException
ILcdModelXYWorldTransformation
modelPoint2worldSFCT
in interface ILcdModelXYWorldTransformation
aModelPoint
- coordinate in model reference system.aWorldPoint
- 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 aWorldPoint, ILcd3DEditablePoint aModelPointSFCT) throws TLcdOutOfBoundsException
ILcdModelXYWorldTransformation
worldPoint2modelSFCT
in interface ILcdModelXYWorldTransformation
aWorldPoint
- coordinate in world reference system.aModelPointSFCT
- 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 aModelBounds, ILcd2DEditableBounds aWorldBoundsSFCT) throws TLcdNoBoundsException
ILcdModelXYWorldTransformation
modelBounds2worldSFCT
in interface ILcdModelXYWorldTransformation
aModelBounds
- bounds in model reference system.aWorldBoundsSFCT
- 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 aWorldBounds, ILcd3DEditableBounds aModelBoundsSFCT) throws TLcdOutOfBoundsException
ILcdModelXYWorldTransformation
worldBounds2modelSFCT
in interface ILcdModelXYWorldTransformation
aWorldBounds
- bounds in world reference system.aModelBoundsSFCT
- 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 Object clone()
clone
in interface ILcdCloneable
clone
in class Object
Object.clone()