BaltradDex
BALTRAD Data Exchange System
Loading...
Searching...
No Matches
eu.baltrad.dex.db.util.BltDataProjector Class Reference

Public Member Functions

 BltDataProjector ()
 

Static Public Member Functions

static int initializeProjection (String[] projParms)
 
static Point2D.Double pointXY2Geo (Point2D.Double xyPoint)
 
static Point2D.Double pointGeo2XY (Point2D.Double geoPoint)
 

Detailed Description

Encapsulates data projection functionality.

Author
Maciej Szewczykowski | macie.nosp@m.j@ba.nosp@m.ltrad.nosp@m..eu
Version
0.1.5
Since
0.1.5

Constructor & Destructor Documentation

◆ BltDataProjector()

eu.baltrad.dex.db.util.BltDataProjector.BltDataProjector ( )
inline

Constructor.

Member Function Documentation

◆ initializeProjection()

static int eu.baltrad.dex.db.util.BltDataProjector.initializeProjection ( String[] projParms)
inlinestatic

Initializes projection object according to PROJ4 library specification.

Parameters
projParmsProjection parameters as array of strings
Returns
0 upon successfull initialization, 1 otherwise

◆ pointGeo2XY()

static Point2D.Double eu.baltrad.dex.db.util.BltDataProjector.pointGeo2XY ( Point2D.Double geoPoint)
inlinestatic

Converts latitude and longitude into carthesian coordinates.

Parameters
geoPointLatitude and longitude of a given point
Returns
Carthesian coordinates of a given point

◆ pointXY2Geo()

static Point2D.Double eu.baltrad.dex.db.util.BltDataProjector.pointXY2Geo ( Point2D.Double xyPoint)
inlinestatic

Converts carthesian coordinates into latitude and longitude.

Parameters
xyPointCarthesian point coordinates
Returns
Latitude and longitude of a given point

The documentation for this class was generated from the following file: