Class Pos
Defined in File Pos.h
Class Documentation

class Pos
This file defines the members and methods implemented as part of the Pos class.
This class represents a point in a 3D integer lattice.
Public Functions

int getX()
Get the X coordinate of this object.
 Returns:
int The x coordinate

int getY()
Get the Y coordinate of this object.
 Returns:
int The y coordinate

int getZ()
Get the Z coordinate of this object.
 Returns:
int The z coordinate

void shiftX(int shift)
Shift the x value by a given amount.
 Parameters:
shift – The amount to shift by which may be positive or negative

void shiftY(int shift)
Shift the y value by a given amount.
 Parameters:
shift – The amount to shift by which may be positive or negative

void shiftZ(int shift)
Shift the z value by a given amount.
 Parameters:
shift – The amount to shift by which may be positive or negative

void shift(int shiftX, int shiftY, int shiftZ)
Shift the x,y and z values by given amounts.
 Parameters:
shiftX – The amount to shift x by which may be positive or negative
shiftY – The amount to shift x by which may be positive or negative
shiftZ – The amount to shift x by which may be positive or negative

virtual nlohmann::json toSemanticMapJSON()
Gets the JSON representation of the various fields and values stored in an instance.
 Returns:
nlohmann::json The JSON representation

int getX()