Maria GDK 5.0.0.737
Documentation of native code in develop branch
Loading...
Searching...
No Matches
Maria::UTMGridMatrix Class Reference

#include <MGridUtils.h>

Public Member Functions

 UTMGridMatrix (int zone, int x0, int y0, int rows, int cols, int gridSize)
 
int getGridSize () const
 
int getRows () const
 
int getCols () const
 
int getZone () const
 
int getX0 () const
 
int getY0 () const
 
bool getRowValue (int row, double &val) const
 
bool getColValue (int col, double &val) const
 
int getRow (double val) const
 
int getCol (double val) const
 
bool getKnot (int row, int col, STK::Vector2f &pt) const
 
bool hasKnots () const
 
STK::Vector2f knot (int i, int j) const
 
bool buildKnots (const std::shared_ptr< RasterProjector > &rp)
 
bool getLine (int ix, bool bVertical, std::vector< STK::Vector2f > &line) const
 
double getCellWidth (int row, int col) const
 Strictly horizontol cellwidth.
 
double getCellHeight (int row, int col) const
 Strictly vertical cellheight.
 
bool getLabelOriginV (int row, int col, STK::Vector2f &pt) const
 
bool getLabelOriginH (int row, int col, STK::Vector2f &pt) const
 
std::string formatLabel (double val) const
 
bool formatUTMLabel (double val, std::string &lab0, std::string &lab1) const
 
std::string UTMZ () const
 
std::string formatMGRSLabelN (double val) const
 
std::string formatMGRSLabelE (double val) const
 
std::string MGRS100kmA (int nE, int nN) const
 
std::string MGRS100km (int row, int col) const
 
bool isLineEnhanced (double val) const
 

Detailed Description

UTMGridMatrix - Short description

Member Function Documentation

◆ getCellHeight()

double UTMGridMatrix::getCellHeight ( int  row,
int  col 
) const

Strictly vertical cellheight.

Parameters
row
col
Returns

◆ getCellWidth()

double UTMGridMatrix::getCellWidth ( int  row,
int  col 
) const

Strictly horizontol cellwidth.

Parameters
row
col
Returns

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