public class TLcdGeoReference2GeoReference extends Object implements ILcdModelModelTransformation
ILcdGeoReference
implementations.
Transformations between any of the following references are supported:
The transformations can be applied in both directions.
This class is thread-safe.Constructor and Description |
---|
TLcdGeoReference2GeoReference()
Constructs a transformation utility instance with no references set.
|
TLcdGeoReference2GeoReference(ILcdGeoReference aSourceReference,
ILcdGeoReference aDestinationReference)
Constructs a transformation utility instance with the given references as source and destination reference.
|
Modifier and Type | Method and Description |
---|---|
void |
destBounds2sourceSFCT(ILcdBounds aDestinationBounds,
ILcd3DEditableBounds aSourceBoundsSFCT)
|
void |
destinationBounds2sourceSFCT(ILcdBounds aDestinationBounds,
ILcd3DEditableBounds aSourceBoundsSFCT)
Transforms a bounds from the destination
ILcdGeoReference to the
source ILcdGeoReference . |
void |
destinationPoint2sourceSFCT(ILcdPoint aDestinationPoint,
ILcd3DEditablePoint aSourcePointSFCT)
Transforms a point from the destination
ILcdGeoReference to the
source ILcdGeoReference . |
void |
destPoint2sourceSFCT(ILcdPoint aDestinationPoint,
ILcd3DEditablePoint aSourcePointSFCT)
|
ILcdGeoReference |
getDestinationReference()
s
Returns the destination
ILcdGeoReference of this TLcdModelModelTransformation . |
ILcdGeoReference |
getSourceReference()
Returns the source
ILcdGeoReference of this TLcdModelModelTransformation . |
boolean |
isValid()
Returns whether this
TLcdModelModelTransformation has a valid transformation. |
void |
setDestinationReference(ILcdGeoReference aDestinationReference)
Sets the destination
ILcdGeoReference of this TLcdModelModelTransformation . |
void |
setDestinationReference(ILcdModelReference aModelReference)
Sets the destination
ILcdModelReference . |
void |
setSourceReference(ILcdGeoReference aSourceReference)
Sets the source
ILcdGeoReference of this TLcdModelModelTransformation . |
void |
setSourceReference(ILcdModelReference aSourceReference)
Sets the source
ILcdModelReference . |
void |
sourceBounds2destinationSFCT(ILcdBounds aSourceBounds,
ILcd3DEditableBounds aDestinationBoundsSFCT)
Transforms a bounds from the source
ILcdGeoReference to the
destination ILcdGeoReference . |
void |
sourceBounds2destSFCT(ILcdBounds aSourceBounds,
ILcd3DEditableBounds aDestinationBoundsSFCT)
|
void |
sourcePoint2destinationSFCT(ILcdPoint aSourcePoint,
ILcd3DEditablePoint aDestinationPointSFCT)
Transforms a point from the source
ILcdGeoReference to the
destination ILcdGeoReference . |
void |
sourcePoint2destSFCT(ILcdPoint aSourcePoint,
ILcd3DEditablePoint aDestinationPointSFCT)
|
public TLcdGeoReference2GeoReference()
public TLcdGeoReference2GeoReference(ILcdGeoReference aSourceReference, ILcdGeoReference aDestinationReference)
aSourceReference
- the reference designated as source reference.aDestinationReference
- the reference designated as destination reference.public boolean isValid()
TLcdModelModelTransformation
has a valid transformation.TLcdModelModelTransformation
has a valid transformation.public ILcdGeoReference getSourceReference()
ILcdGeoReference
of this TLcdModelModelTransformation
.ILcdGeoReference
of this TLcdModelModelTransformation
.setSourceReference(com.luciad.model.ILcdModelReference)
public void setSourceReference(ILcdModelReference aSourceReference)
ILcdModelReference
.setSourceReference
in interface ILcdModelModelTransformation
aSourceReference
- the source ILcdModelReference
.IllegalArgumentException
- if the given reference is not a ILcdGeoReference
.public void setSourceReference(ILcdGeoReference aSourceReference)
ILcdGeoReference
of this TLcdModelModelTransformation
.aSourceReference
- the new sourceReference value.getSourceReference()
public ILcdGeoReference getDestinationReference()
ILcdGeoReference
of this TLcdModelModelTransformation
.ILcdGeoReference
of this TLcdModelModelTransformation
.setDestinationReference(com.luciad.model.ILcdModelReference)
public void setDestinationReference(ILcdModelReference aModelReference)
ILcdModelReference
.setDestinationReference
in interface ILcdModelModelTransformation
aModelReference
- the destination ILcdModelReference
.IllegalArgumentException
- if the given reference is not a ILcdGeoReference
.public void setDestinationReference(ILcdGeoReference aDestinationReference)
ILcdGeoReference
of this TLcdModelModelTransformation
.aDestinationReference
- the new destinationReference value.getDestinationReference()
@Deprecated public void destPoint2sourceSFCT(ILcdPoint aDestinationPoint, ILcd3DEditablePoint aSourcePointSFCT) throws TLcdOutOfBoundsException
destinationPoint2sourceSFCT(com.luciad.shape.ILcdPoint, com.luciad.shape.shape3D.ILcd3DEditablePoint)
.aDestinationPoint
- the point within the destination ILcdGeoReference
.aSourcePointSFCT
- the transformed point within the source ILcdGeoReference
by side effect.
This should be a different point than aDestinationPointTLcdOutOfBoundsException
- if the point is outside the valid area.@Deprecated public void sourcePoint2destSFCT(ILcdPoint aSourcePoint, ILcd3DEditablePoint aDestinationPointSFCT) throws TLcdOutOfBoundsException
sourcePoint2destinationSFCT(com.luciad.shape.ILcdPoint, com.luciad.shape.shape3D.ILcd3DEditablePoint)
.aSourcePoint
- the point within the source ILcdGeoReference
.aDestinationPointSFCT
- the transformed point within the destination ILcdGeoReference
by side effect.
This should be a different point than aSourcePointTLcdOutOfBoundsException
- if the point is outside the valid area.public void sourcePoint2destinationSFCT(ILcdPoint aSourcePoint, ILcd3DEditablePoint aDestinationPointSFCT) throws TLcdOutOfBoundsException
ILcdGeoReference
to the
destination ILcdGeoReference
.sourcePoint2destinationSFCT
in interface ILcdModelModelTransformation
aSourcePoint
- the point within the source ILcdGeoReference
.aDestinationPointSFCT
- the transformed point within the destination ILcdGeoReference
by side effect.
This should be a different point than aSourcePointTLcdOutOfBoundsException
- if the point is outside the valid area.public void destinationPoint2sourceSFCT(ILcdPoint aDestinationPoint, ILcd3DEditablePoint aSourcePointSFCT) throws TLcdOutOfBoundsException
ILcdGeoReference
to the
source ILcdGeoReference
.destinationPoint2sourceSFCT
in interface ILcdModelModelTransformation
aDestinationPoint
- the point within the destination ILcdGeoReference
.aSourcePointSFCT
- the transformed point within the source ILcdGeoReference
by side effect.
This should be a different point than aDestinationPointTLcdOutOfBoundsException
- if the point is outside the valid area.@Deprecated public void sourceBounds2destSFCT(ILcdBounds aSourceBounds, ILcd3DEditableBounds aDestinationBoundsSFCT) throws TLcdNoBoundsException
sourceBounds2destinationSFCT(com.luciad.shape.ILcdBounds, com.luciad.shape.shape3D.ILcd3DEditableBounds)
ILcdGeoReference
to the
destination ILcdGeoReference
.aSourceBounds
- the bounds within the source ILcdGeoReference
.aDestinationBoundsSFCT
- the transformed bounds within the destination ILcdGeoReference
by side effect.TLcdNoBoundsException
- if the bounds cannot be determined.public void sourceBounds2destinationSFCT(ILcdBounds aSourceBounds, ILcd3DEditableBounds aDestinationBoundsSFCT) throws TLcdNoBoundsException
ILcdGeoReference
to the
destination ILcdGeoReference
.sourceBounds2destinationSFCT
in interface ILcdModelModelTransformation
aSourceBounds
- the bounds within the source ILcdGeoReference
.aDestinationBoundsSFCT
- the transformed bounds within the destination ILcdGeoReference
by side effect.TLcdNoBoundsException
- if the bounds cannot be determined.@Deprecated public void destBounds2sourceSFCT(ILcdBounds aDestinationBounds, ILcd3DEditableBounds aSourceBoundsSFCT) throws TLcdNoBoundsException
destinationBounds2sourceSFCT(com.luciad.shape.ILcdBounds, com.luciad.shape.shape3D.ILcd3DEditableBounds)
.ILcdGeoReference
to the
destination ILcdGeoReference
.aDestinationBounds
- the bounds within the destination ILcdGeoReference
.aSourceBoundsSFCT
- the transformed bounds within the source ILcdGeoReference
by side effect.TLcdNoBoundsException
- if the bounds cannot be determined.public void destinationBounds2sourceSFCT(ILcdBounds aDestinationBounds, ILcd3DEditableBounds aSourceBoundsSFCT) throws TLcdNoBoundsException
ILcdGeoReference
to the
source ILcdGeoReference
.destinationBounds2sourceSFCT
in interface ILcdModelModelTransformation
aDestinationBounds
- the bounds within the destination ILcdGeoReference
.aSourceBoundsSFCT
- the transformed bounds within the source ILcdGeoReference
by side effect.TLcdNoBoundsException
- if the bounds cannot be determined.