Package org.eclipse.mosaic.lib.transform
Class LazyGeoProjection
- java.lang.Object
-
- org.eclipse.mosaic.lib.transform.GeoProjection
-
- org.eclipse.mosaic.lib.transform.LazyGeoProjection
-
public class LazyGeoProjection extends GeoProjection
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
LazyGeoProjection.ProjectionFactory
-
Constructor Summary
Constructors Constructor Description LazyGeoProjection()
LazyGeoProjection(LazyGeoProjection.ProjectionFactory projectionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableGeoPoint
cartesianToGeographic(CartesianPoint cartesianPoint, MutableGeoPoint mutableGeoPoint)
Converts a local coordinate depicted by aCartesianPoint
to geographic WGS84 coordinates.MutableCartesianPoint
geographicToCartesian(GeoPoint geoPoint, MutableCartesianPoint mutableCartesianPoint)
Converts a geographic WGS84 coordinate depicted by aGeoPoint
into local coordinates coordinates.MutableUtmPoint
geographicToUtm(GeoPoint geoPoint, MutableUtmPoint mutableUtmPoint)
Converts a geographic WGS84 coordinate depicted by aGeoPoint
into UTM coordinates.Vector3d
geographicToVector(GeoPoint geoPoint, Vector3d vector3d)
Converts a geographic WGS84 coordinate depicted by aGeoPoint
into local coordinates coordinates.MutableGeoPoint
utmToGeographic(UtmPoint utmPoint, MutableGeoPoint mutableGeoPoint)
Converts a cartesian world coordinate depicted by aUtmPoint
to geographic WGS84 coordinates.Vector3d
utmToVector(UtmPoint utmPoint, Vector3d vector3d)
Converts a cartesian world coordinate depicted by aUtmPoint
into local coordinates coordinates.MutableGeoPoint
vectorToGeographic(Vector3d vector3d, MutableGeoPoint mutableGeoPoint)
Converts a local coordinate depicted by aVector3d
to geographic WGS84 coordinates.MutableUtmPoint
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 Detail
-
LazyGeoProjection
public LazyGeoProjection()
-
LazyGeoProjection
public LazyGeoProjection(LazyGeoProjection.ProjectionFactory projectionFactory)
-
-
Method Detail
-
geographicToUtm
public MutableUtmPoint geographicToUtm(GeoPoint geoPoint, MutableUtmPoint mutableUtmPoint)
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
public MutableGeoPoint utmToGeographic(UtmPoint utmPoint, MutableGeoPoint mutableGeoPoint)
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
public Vector3d utmToVector(UtmPoint utmPoint, Vector3d vector3d)
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
public MutableUtmPoint vectorToUtm(Vector3d vector3d, MutableUtmPoint mutableUtmPoint)
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
public Vector3d geographicToVector(GeoPoint geoPoint, Vector3d vector3d)
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
public MutableGeoPoint vectorToGeographic(Vector3d vector3d, MutableGeoPoint mutableGeoPoint)
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
-
-