Kaim::WorldIntegerPos Class Reference

Kaim::WorldIntegerPos Class Reference

#include <worldintegerpos.h>

Class Description

Utilities for dealing with NavData coordinates, which are expressed in a world space based on integers.

Public Member Functions

void Set (const CellPos &cellPos, const CoordPos &posInCell)
 
void Set (CellCoord cellCoordX, CellCoord cellCoordY, KyInt32 coordPosX, KyInt32 coordPosY)
 
void Clear ()
 
bool operator== (const WorldIntegerPos &rhs) const
 
bool operator!= (const WorldIntegerPos &rhs) const
 
bool operator< (const WorldIntegerPos &rhs) const
 
bool operator> (const WorldIntegerPos &rhs) const
 

For internal use only

void Add1OnCoordPosX (KyInt32 cellSizeInCoord)
 
void Remove1OnCoordPosX (KyInt32 cellSizeInCoord)
 
void Add1OnCoordPosY (KyInt32 cellSizeInCoord)
 
void Remove1OnCoordPosY (KyInt32 cellSizeInCoord)
 

Member Function Documentation

void Kaim::WorldIntegerPos::Clear ( )
inline

Clears all information maintained by this object.

void Kaim::WorldIntegerPos::Set ( const CellPos cellPos,
const CoordPos posInCell 
)
inline

Sets the coordinates of the vector to match the specified values.

void Kaim::WorldIntegerPos::Set ( CellCoord  cellCoordX,
CellCoord  cellCoordY,
KyInt32  coordPosX,
KyInt32  coordPosY 
)
inline

Sets the coordinates of the vector to match the specified values.


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