gwnavgeneration/boundary/boundarypixel.h Source File
Go to the documentation of this file.
22 BoundaryPixel(): m_navRasterPixel(
nullptr), m_floorColor(PixelColor_Unset), m_connexIdx(
KyUInt32MAXVAL), m_isOutside(false)
25 m_edges[dir] =
nullptr;
28 void Init(
const NavRasterPixel* navRasterPixel,
bool isOutside)
30 m_navRasterPixel = navRasterPixel;
31 m_floorColor = navRasterPixel->m_floorColor;
32 m_connexIdx = navRasterPixel->m_connexIdx;
33 m_isOutside = isOutside;
38 KY_ASSERT(m_navRasterPixel !=
nullptr);
39 return m_navRasterPixel->GetFeatureMask(dir);
43 const NavRasterPixel* m_navRasterPixel;
44 PixelColor m_floorColor;
53 BoundaryEdge* m_edges[4];
std::uint32_t KyUInt32
uint32_t
Definition: types.h:29
KyUInt32 CardinalDir
Defines a type that refers to one of the cardinal points on the compass:
Definition: cardinaldir.h:15
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:132
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
#define KyUInt32MAXVAL
KyUInt32 max value
Definition: types.h:68