Range of positions within tileset. More...
#include <spatmod/imagetileset.h>
Public Member Functions | |
| RANGE () | |
| INT32 | ComputeNumPixelsX (INT32 TileSize) const |
| INT32 | ComputeNumPixelsY (INT32 TileSize) const |
| INT32 | ComputeNumTilesX () const |
| INT32 | ComputeNumTilesY () const |
| bool | Contains (const LPOINT2D &TileIdx) const |
| const POSN & | GetBottomRight () const |
| const POSN & | GetTopLeft () const |
| ERRVALUE | Set (const POSN &TopLeft, const POSN &BottomRight) |
Range of positions within tileset.
| SPATMOD::IMAGE::TILESET::RANGE::RANGE | ( | ) |
Default constructor.
Compute number of X pixels for tile size.
Compute number of Y pixels for tile size.
| INT32 SPATMOD::IMAGE::TILESET::RANGE::ComputeNumTilesX | ( | ) | const [inline] |
Compute number of tiles in X direction.
| INT32 SPATMOD::IMAGE::TILESET::RANGE::ComputeNumTilesY | ( | ) | const [inline] |
Compute number of tiles in Y direction.
| bool SPATMOD::IMAGE::TILESET::RANGE::Contains | ( | const LPOINT2D & | TileIdx | ) | const |
Determine if range contains specified tile index.
| const POSN& SPATMOD::IMAGE::TILESET::RANGE::GetBottomRight | ( | ) | const [inline] |
Get bottom-right position for range.
| const POSN& SPATMOD::IMAGE::TILESET::RANGE::GetTopLeft | ( | ) | const [inline] |
Get top-left position for range.
Set range.
1.6.1