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 aCartesianPointto geographic WGS84 coordinates.geographicToCartesian(GeoPoint geoPoint, MutableCartesianPoint mutableCartesianPoint) Converts a geographic WGS84 coordinate depicted by aGeoPointinto local coordinates coordinates.geographicToUtm(GeoPoint geoPoint, MutableUtmPoint mutableUtmPoint) Converts a geographic WGS84 coordinate depicted by aGeoPointinto UTM coordinates.geographicToVector(GeoPoint geoPoint, Vector3d vector3d) Converts a geographic WGS84 coordinate depicted by aGeoPointinto local coordinates coordinates.utmToGeographic(UtmPoint utmPoint, MutableGeoPoint mutableGeoPoint) Converts a cartesian world coordinate depicted by aUtmPointto geographic WGS84 coordinates.utmToVector(UtmPoint utmPoint, Vector3d vector3d) Converts a cartesian world coordinate depicted by aUtmPointinto local coordinates coordinates.vectorToGeographic(Vector3d vector3d, MutableGeoPoint mutableGeoPoint) Converts a local coordinate depicted by aVector3dto geographic WGS84 coordinates.vectorToUtm(Vector3d vector3d, MutableUtmPoint mutableUtmPoint) Converts a local coordinate depicted by aVector3dinto 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:GeoProjectionConverts a geographic WGS84 coordinate depicted by aGeoPointinto UTM coordinates.- Specified by:
geographicToUtmin classGeoProjection- Parameters:
geoPoint- geographic WGS84 coordinatesmutableUtmPoint- theMutableUtmPointto which the result is written to- Returns:
- the result object with converted UTM coordinates
-
utmToGeographic
Description copied from class:GeoProjectionConverts a cartesian world coordinate depicted by aUtmPointto geographic WGS84 coordinates.- Specified by:
utmToGeographicin classGeoProjection- Parameters:
utmPoint- cartesian UTM coordinatesmutableGeoPoint- theMutableGeoPointto 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:GeoProjectionConverts a geographic WGS84 coordinate depicted by aGeoPointinto local coordinates coordinates.- Specified by:
geographicToCartesianin classGeoProjection- Parameters:
geoPoint- geographic WGS84 coordinatesmutableCartesianPoint- theMutableUtmPointto 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:GeoProjectionConverts a local coordinate depicted by aCartesianPointto geographic WGS84 coordinates.- Specified by:
cartesianToGeographicin classGeoProjection- Parameters:
cartesianPoint- the local coordinatemutableGeoPoint- theMutableGeoPointto which the result is written to- Returns:
- the result object with converted WGS84 coordinates
-
utmToVector
Description copied from class:GeoProjectionConverts a cartesian world coordinate depicted by aUtmPointinto local coordinates coordinates.- Specified by:
utmToVectorin classGeoProjection- Parameters:
utmPoint- the cartesian world UTM coordinate.vector3d- theMutableUtmPointto which the result is written to- Returns:
- the result object with converted local coordinates
-
vectorToUtm
Description copied from class:GeoProjectionConverts a local coordinate depicted by aVector3dinto UTM coordinates.- Specified by:
vectorToUtmin classGeoProjection- Parameters:
vector3d- the local coordinatemutableUtmPoint- theMutableUtmPointto which the result is written to- Returns:
- the result object with converted UTM coordinates
-
geographicToVector
Description copied from class:GeoProjectionConverts a geographic WGS84 coordinate depicted by aGeoPointinto local coordinates coordinates.- Specified by:
geographicToVectorin classGeoProjection- Parameters:
geoPoint- geographic WGS84 coordinatesvector3d- theMutableUtmPointto which the result is written to- Returns:
- the result object with converted local coordinates
-
vectorToGeographic
Description copied from class:GeoProjectionConverts a local coordinate depicted by aVector3dto geographic WGS84 coordinates.- Specified by:
vectorToGeographicin classGeoProjection- Parameters:
vector3d- the local coordinatemutableGeoPoint- theMutableGeoPointto which the result is written to- Returns:
- the result object with converted WGS84 coordinates
-