Package hec.map.transform
Class CoordinateTransform
java.lang.Object
hec.map.transform.CoordinateTransform
- All Implemented Interfaces:
CoordinateTransformConstants
@Deprecated(forRemoval=true,
since="5.2.0")
public class CoordinateTransform
extends Object
implements CoordinateTransformConstants
Deprecated, for removal: This API element is subject to removal in a future version.
For removal in Monolith 6
Deprecated: This class depends on calls into rmaUtil via JNI. rmaUtil never got a 64-bit release, if you are calling into any calls that hit
the gctp function, they will not work on a 64-bit JRE. Any other functions that are 100% Java and needed elsewhere should be moved to CoordinateTransformUtil.
-
Field Summary
Fields inherited from interface hec.map.transform.CoordinateTransformConstants
ALBERS_TYPE, CLARK_1866, GEOGRAPHIC_TYPE, GRS_1980, HRAP_SPHERE_OF_RADIUS, HRAP_TYPE, LAMBERT_TYPE, METERS, SHG_DEFAULT, SHG_TYPE, SPHERIOD_IDS, SPHERIODS, STATE_TYPE, SYSTEM_IDS, SYSTEMS, TM_TYPE, UNIT_IDS, UNITS, US_FEET, UTM_TYPE, XY_TYPE
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionstatic long
transform
(double[] inCoorX, double[] inCoorY, CoordinateInfo inCoorInfo, double[] outCoorX, double[] outCoorY, CoordinateInfo outCoorInfo) Deprecated, for removal: This API element is subject to removal in a future version.For removal in Monolith 6.
-
Constructor Details
-
CoordinateTransform
public CoordinateTransform()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
transform
@Deprecated(forRemoval=true, since="5.2.0") public static long transform(double[] inCoorX, double[] inCoorY, CoordinateInfo inCoorInfo, double[] outCoorX, double[] outCoorY, CoordinateInfo outCoorInfo) Deprecated, for removal: This API element is subject to removal in a future version.For removal in Monolith 6. Requires JNI call to native lib that is 32-bit only.- Parameters:
inCoorX
- /Y - Array of two input coordinates (X-Y, Longitude-Latitude, Northing-Easting, etc) to be translated. The nature of the coordinates is defined by insys, inzone, and inUnit. The east-west dimension (X, Longitude, Easting) is first, followed by the north-south(Y, Latitude, Northing)inCoorInfo
- - Input Coordinate Information.outCoorX
- /Y - Array of two transformed coordinates. @see inCooroutCoorInfo
- - Output Coordinate Information
-