OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
LatLong-UTMconversion.cpp File Reference
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include "constants.h"
#include "LatLong-UTMconversion.h"
Include dependency graph for LatLong-UTMconversion.cpp:

Go to the source code of this file.

Functions

void LLtoUTM (int ReferenceEllipsoid, const double Lat, const double Long, double &UTMNorthing, double &UTMEasting, char *UTMZone)
 
char UTMLetterDesignator (double Lat)
 
void UTMtoLL (int ReferenceEllipsoid, const double UTMNorthing, const double UTMEasting, const char *UTMZone, double &Lat, double &Long)
 

Function Documentation

◆ LLtoUTM()

void LLtoUTM ( int  ReferenceEllipsoid,
const double  Lat,
const double  Long,
double &  UTMNorthing,
double &  UTMEasting,
char *  UTMZone 
)

Definition at line 23 of file LatLong-UTMconversion.cpp.

◆ UTMLetterDesignator()

char UTMLetterDesignator ( double  Lat)

Definition at line 87 of file LatLong-UTMconversion.cpp.

◆ UTMtoLL()

void UTMtoLL ( int  ReferenceEllipsoid,
const double  UTMNorthing,
const double  UTMEasting,
const char *  UTMZone,
double &  Lat,
double &  Long 
)

Definition at line 118 of file LatLong-UTMconversion.cpp.