VR-Link C# API Documentation
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros Pages
List of all members | Public Member Functions | Static Public Member Functions | Properties | Private Member Functions | Private Attributes | Static Private Attributes
makVrl.UtmReferencePoint Class Reference
+ Collaboration diagram for makVrl.UtmReferencePoint:

Public Member Functions

 UtmReferencePoint ()
 UtmReferencePoint (DegMinSec latRef, DegMinSec lonRef, bool standardOffsets=true, int zone=0, MapDatum mapDatum=null, double scaleFactor=0.9996)
void init (DegMinSec lat, DegMinSec lon, bool standardOffsets, int zone, MapDatum datum=null)
double degree (double[] a)
void initDatumConstants ()
void initUtm (double[] lat, double[] lon, int zone)
void geod2utm (double alat, double alon, out double x, out double y)
void utm2geod (double x, double y, out double lat, out double lon)

Static Public Member Functions

static int utmGridZoneFromLatLon (double latitude, double longitude)

Properties

static UtmReferencePoint globalUtmReferencePoint [get]
ReferenceEllipsoid ellipsoid [get]
MapDatum mapDatum [get, set]

Private Member Functions

void geod2utm (double lat, double lon, out int zone, out double northing, out double easting)
void utm2geod (double northing, double easting, int zone, out double lat, out double lon)

Private Attributes

bool myInited = false
bool myStandardOffsets = true
double myXOrigin = 0
double myYOrigin = 0
int myZoneOrigin = 0
DegMinSec myLatRef
DegMinSec myLonRef
ReferenceEllipsoid myEllipsoid = ReferenceEllipsoid.globalEllipsoid
 reference ellipsoid
double mySemiMajor = 0
 Used for conversion calculations.
double mySemiMinor = 0
double myE_sq = 0
double myEp_sq = 0
double myEf = 0
double myScale = 0.9996
double myStandardFalseEasting = 500000
 These are used when we're using standard offsets.
double myStandardFalseNorthing = 10000000
double myStandardFalseNorthingCrossover = 8000000

Static Private Attributes

static UtmReferencePoint theGlobalUtmReferencePoint = new UtmReferencePoint()
static double theLongitudeFudgeFactor = 0.0

Constructor & Destructor Documentation

makVrl.UtmReferencePoint.UtmReferencePoint ( )
inline
makVrl.UtmReferencePoint.UtmReferencePoint ( DegMinSec  latRef,
DegMinSec  lonRef,
bool  standardOffsets = true,
int  zone = 0,
MapDatum  mapDatum = null,
double  scaleFactor = 0.9996 
)
inline

Member Function Documentation

double makVrl.UtmReferencePoint.degree ( double[]  a)
inline
void makVrl.UtmReferencePoint.geod2utm ( double  alat,
double  alon,
out double  x,
out double  y 
)
inline
void makVrl.UtmReferencePoint.geod2utm ( double  lat,
double  lon,
out int  zone,
out double  northing,
out double  easting 
)
inlineprivate
void makVrl.UtmReferencePoint.init ( DegMinSec  lat,
DegMinSec  lon,
bool  standardOffsets,
int  zone,
MapDatum  datum = null 
)
inline
void makVrl.UtmReferencePoint.initDatumConstants ( )
inline
void makVrl.UtmReferencePoint.initUtm ( double[]  lat,
double[]  lon,
int  zone 
)
inline
void makVrl.UtmReferencePoint.utm2geod ( double  x,
double  y,
out double  lat,
out double  lon 
)
inline
void makVrl.UtmReferencePoint.utm2geod ( double  northing,
double  easting,
int  zone,
out double  lat,
out double  lon 
)
inlineprivate
static int makVrl.UtmReferencePoint.utmGridZoneFromLatLon ( double  latitude,
double  longitude 
)
inlinestatic

Member Data Documentation

double makVrl.UtmReferencePoint.myE_sq = 0
private
double makVrl.UtmReferencePoint.myEf = 0
private
ReferenceEllipsoid makVrl.UtmReferencePoint.myEllipsoid = ReferenceEllipsoid.globalEllipsoid
private

reference ellipsoid

double makVrl.UtmReferencePoint.myEp_sq = 0
private
bool makVrl.UtmReferencePoint.myInited = false
private
DegMinSec makVrl.UtmReferencePoint.myLatRef
private
DegMinSec makVrl.UtmReferencePoint.myLonRef
private
double makVrl.UtmReferencePoint.myScale = 0.9996
private
double makVrl.UtmReferencePoint.mySemiMajor = 0
private
double makVrl.UtmReferencePoint.mySemiMinor = 0
private
double makVrl.UtmReferencePoint.myStandardFalseEasting = 500000
private

These are used when we're using standard offsets.

Referenced by makVrl.UtmReferencePoint.geod2utm(), makVrl.UtmReferencePoint.init(), and makVrl.UtmReferencePoint.utm2geod().

double makVrl.UtmReferencePoint.myStandardFalseNorthing = 10000000
private
double makVrl.UtmReferencePoint.myStandardFalseNorthingCrossover = 8000000
private
bool makVrl.UtmReferencePoint.myStandardOffsets = true
private
double makVrl.UtmReferencePoint.myXOrigin = 0
private
double makVrl.UtmReferencePoint.myYOrigin = 0
private
int makVrl.UtmReferencePoint.myZoneOrigin = 0
private
UtmReferencePoint makVrl.UtmReferencePoint.theGlobalUtmReferencePoint = new UtmReferencePoint()
staticprivate
double makVrl.UtmReferencePoint.theLongitudeFudgeFactor = 0.0
staticprivate

Property Documentation

ReferenceEllipsoid makVrl.UtmReferencePoint.ellipsoid
get
UtmReferencePoint makVrl.UtmReferencePoint.globalUtmReferencePoint
staticget
MapDatum makVrl.UtmReferencePoint.mapDatum
getset

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

Document ID: Generated on Mon Apr 8 04:49:21 EDT 2019 from SVN revision 197403
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)