|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
ObjectEnum<GridType>
GridType
public enum GridType
Whatever the grid values backing a GridTransform are directly the target coordinates
or offsets to apply on the source coordinates. If grid values are offsets, they may be added
directly to the source coordinates (OFFSET) or they may be pre-multiplied by some
factor before to be added to source coordinates (NADCON, NTv2).
Note: The special offset cases (NADCON,NTv2) are not strictly necessary since it would be possible to pre-multiply the scale factor straight in the grid. However the approach taken byGridTransformis to keep major formats unchanged. This approach allows for example aRenderedImageto share the sameDataBufferthan the one used byGridTransform, and compare the visual aspect with publications.
| referencing/geotk-referencing (download) | View source code for this class |
| Enum Constant Summary | |
|---|---|
LOCALIZATION
The grid values give directly the target coordinates. |
|
NADCON
The grid values are offsets to apply on source coordinates in seconds of angle. |
|
NTv2
Same as NADCON, except that longitudes in the west hemisphere are positives. |
|
OFFSET
The grid values are offsets to add to source coordinates. |
|
| Method Summary | |
|---|---|
static GridType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static GridType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final GridType LOCALIZATION
public static final GridType OFFSET
public static final GridType NADCON
public static final GridType NTv2
NADCON, except that longitudes in the west hemisphere are positives.
| Method Detail |
|---|
public static GridType[] values()
for (GridType c : GridType.values()) System.out.println(c);
public static GridType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||