HOG2
Public Member Functions | Public Attributes | List of all members
RegionData Class Reference

#include <Map3DGrid.h>

Collaboration diagram for RegionData:
Collaboration graph
[legend]

Public Member Functions

 RegionData ()
 
bool CanAddPoint (int x, int y, int z)
 
bool AddPoint (int x, int y, int z)
 
void AddEdge (EdgeData &e)
 
void RemoveEdge (EdgeData &e)
 
bool LowerBase ()
 
void RedoCenterLocation ()
 

Public Attributes

uint8_t centerLocation
 
uint8_t baseHeight
 
uint8_t pointCount
 
uint8_t blockedPointCount
 
std::vector< EdgeDataedges
 
GridData grid
 

Detailed Description

Definition at line 129 of file Map3DGrid.h.

Constructor & Destructor Documentation

◆ RegionData()

RegionData::RegionData ( )
inline

Definition at line 131 of file Map3DGrid.h.

Member Function Documentation

◆ AddEdge()

void RegionData::AddEdge ( EdgeData e)

Definition at line 378 of file Map3DGrid.cpp.

References edges, EdgeData::region, EdgeData::sector, and EdgeData::support.

◆ AddPoint()

bool RegionData::AddPoint ( int  x,
int  y,
int  z 
)

◆ CanAddPoint()

bool RegionData::CanAddPoint ( int  x,
int  y,
int  z 
)

◆ LowerBase()

bool RegionData::LowerBase ( )

◆ RedoCenterLocation()

void RegionData::RedoCenterLocation ( )

◆ RemoveEdge()

void RegionData::RemoveEdge ( EdgeData e)

Definition at line 391 of file Map3DGrid.cpp.

References edges, EdgeData::region, EdgeData::sector, and EdgeData::support.

Member Data Documentation

◆ baseHeight

uint8_t RegionData::baseHeight

Definition at line 150 of file Map3DGrid.h.

Referenced by AddPoint(), CanAddPoint(), and LowerBase().

◆ blockedPointCount

uint8_t RegionData::blockedPointCount

Definition at line 152 of file Map3DGrid.h.

◆ centerLocation

uint8_t RegionData::centerLocation

Definition at line 149 of file Map3DGrid.h.

Referenced by AddPoint(), and RedoCenterLocation().

◆ edges

std::vector<EdgeData> RegionData::edges

Definition at line 153 of file Map3DGrid.h.

Referenced by AddEdge(), and RemoveEdge().

◆ grid

GridData RegionData::grid

Definition at line 154 of file Map3DGrid.h.

Referenced by AddPoint(), CanAddPoint(), LowerBase(), and RedoCenterLocation().

◆ pointCount

uint8_t RegionData::pointCount

Definition at line 151 of file Map3DGrid.h.

Referenced by AddPoint(), and CanAddPoint().


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