Package org.eclipse.mosaic.lib.transform
Class LazyGeoProjection
java.lang.Object
org.eclipse.mosaic.lib.transform.GeoProjection
org.eclipse.mosaic.lib.transform.LazyGeoProjection
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncartesianToGeographic
(CartesianPoint cartesianPoint, MutableGeoPoint mutableGeoPoint) Converts a local coordinate depicted by aCartesianPoint
to geographic WGS84 coordinates.geographicToCartesian
(GeoPoint geoPoint, MutableCartesianPoint mutableCartesianPoint) Converts a geographic WGS84 coordinate depicted by aGeoPoint
into local coordinates coordinates.geographicToUtm
(GeoPoint geoPoint, MutableUtmPoint mutableUtmPoint) Converts a geographic WGS84 coordinate depicted by aGeoPoint
into UTM coordinates.geographicToVector
(GeoPoint geoPoint, Vector3d vector3d) Converts a geographic WGS84 coordinate depicted by aGeoPoint
into local coordinates coordinates.utmToGeographic
(UtmPoint utmPoint, MutableGeoPoint mutableGeoPoint) Converts a cartesian world coordinate depicted by aUtmPoint
to geographic WGS84 coordinates.utmToVector
(UtmPoint utmPoint, Vector3d vector3d) Converts a cartesian world coordinate depicted by aUtmPoint
into local coordinates coordinates.vectorToGeographic
(Vector3d vector3d, MutableGeoPoint mutableGeoPoint) Converts a local coordinate depicted by aVector3d
to geographic WGS84 coordinates.vectorToUtm
(Vector3d vector3d, MutableUtmPoint mutableUtmPoint) Converts a local coordinate depicted by aVector3d
into UTM coordinates.Methods inherited from class org.eclipse.mosaic.lib.transform.GeoProjection
cartesianToGeographic, geographicToCartesian, geographicToUtm, geographicToVector, getGeoCalculator, getInstance, initialize, isInitialized, setGeoCalculator, utmToGeographic, utmToVector, vectorToGeographic, vectorToUtm
-
Constructor Details
-
LazyGeoProjection
public LazyGeoProjection() -
LazyGeoProjection
-
-
Method Details
-
geographicToUtm
Description copied from class:GeoProjection
Converts a geographic WGS84 coordinate depicted by aGeoPoint
into UTM coordinates.- Specified by:
geographicToUtm
in classGeoProjection
- Parameters:
geoPoint
- geographic WGS84 coordinatesmutableUtmPoint
- theMutableUtmPoint
to which the result is written to- Returns:
- the result object with converted UTM coordinates
-
utmToGeographic
Description copied from class:GeoProjection
Converts a cartesian world coordinate depicted by aUtmPoint
to geographic WGS84 coordinates.- Specified by:
utmToGeographic
in classGeoProjection
- Parameters:
utmPoint
- cartesian UTM coordinatesmutableGeoPoint
- theMutableGeoPoint
to which the result is written to- Returns:
- the result object with converted WGS84 coordinates
-
geographicToCartesian
public MutableCartesianPoint geographicToCartesian(GeoPoint geoPoint, MutableCartesianPoint mutableCartesianPoint) Description copied from class:GeoProjection
Converts a geographic WGS84 coordinate depicted by aGeoPoint
into local coordinates coordinates.- Specified by:
geographicToCartesian
in classGeoProjection
- Parameters:
geoPoint
- geographic WGS84 coordinatesmutableCartesianPoint
- theMutableUtmPoint
to which the result is written to- Returns:
- the result object with converted local coordinates
-
cartesianToGeographic
public MutableGeoPoint cartesianToGeographic(CartesianPoint cartesianPoint, MutableGeoPoint mutableGeoPoint) Description copied from class:GeoProjection
Converts a local coordinate depicted by aCartesianPoint
to geographic WGS84 coordinates.- Specified by:
cartesianToGeographic
in classGeoProjection
- Parameters:
cartesianPoint
- the local coordinatemutableGeoPoint
- theMutableGeoPoint
to which the result is written to- Returns:
- the result object with converted WGS84 coordinates
-
utmToVector
Description copied from class:GeoProjection
Converts a cartesian world coordinate depicted by aUtmPoint
into local coordinates coordinates.- Specified by:
utmToVector
in classGeoProjection
- Parameters:
utmPoint
- the cartesian world UTM coordinate.vector3d
- theMutableUtmPoint
to which the result is written to- Returns:
- the result object with converted local coordinates
-
vectorToUtm
Description copied from class:GeoProjection
Converts a local coordinate depicted by aVector3d
into UTM coordinates.- Specified by:
vectorToUtm
in classGeoProjection
- Parameters:
vector3d
- the local coordinatemutableUtmPoint
- theMutableUtmPoint
to which the result is written to- Returns:
- the result object with converted UTM coordinates
-
geographicToVector
Description copied from class:GeoProjection
Converts a geographic WGS84 coordinate depicted by aGeoPoint
into local coordinates coordinates.- Specified by:
geographicToVector
in classGeoProjection
- Parameters:
geoPoint
- geographic WGS84 coordinatesvector3d
- theMutableUtmPoint
to which the result is written to- Returns:
- the result object with converted local coordinates
-
vectorToGeographic
Description copied from class:GeoProjection
Converts a local coordinate depicted by aVector3d
to geographic WGS84 coordinates.- Specified by:
vectorToGeographic
in classGeoProjection
- Parameters:
vector3d
- the local coordinatemutableGeoPoint
- theMutableGeoPoint
to which the result is written to- Returns:
- the result object with converted WGS84 coordinates
-