43 bool GetVertex(
int inputRelativeX,
int inputRelativeY,
52 bool GetHeight(
int inputRelativeX,
int inputRelativeY,
float& height);
82 void LoadTif(
const char* filePath,
double x,
double y);
bool GetVertexAbsolute(double inputX, double inputY, heightdata &vertex)
Function to get the height_management of an absolute (geographic) coordinate, using the same coordina...
void UpdateCornerCoords()
Function to update the corner coordinates saved within the member instance of the chosen dataset.
void PopulateVertices()
Function that will open the GeoTiff file and extract all heights for the given subset of the dataset ...
HeightManager()
Constructor of HeightManager class.
void LoadTif(const char *filePath, double x, double y)
Function to allow user to change GeoTiff file used in planning.
const char * m_CachedTifName
bool GetHeight(int inputRelativeX, int inputRelativeY, float &height)
Function to return height, given relative coordinates (from a system where 0, 0 is in the upper left ...
void UpdateOrigin(Core::UTMCoordinate UTMCoord, int size)
Function to update the origin point.
bool GetVertex(int inputRelativeX, int inputRelativeY, heightdata &vertex)
Function to return the whole "height_management" for a given point.
heightdata m_SelectionCorner
const char * m_CoordinateSystem
bool ValidInput(int x, int y)
Function to test whether a point exists within the scope of the selected data subset.
float GetHeightAbsolute(double inputX, double inputY)
Function to get the height of an absolute (geographic) coordinate, using the same coordinate system o...
bool OrigoWithinBounds(double x, double y)
Function that tests whether the selected origin point is within the bounds of the currently active da...
\ A structure that represents a coordinate in the Universal Transverse Mercator coordinate system