Recast Navigation
Navigation-mesh Toolset for Games
|
Represents a group of related contours. More...
#include <Recast.h>
Public Member Functions | |
rcContourSet () | |
~rcContourSet () | |
Public Attributes | |
rcContour * | conts |
An array of the contours in the set. [Size: nconts]. More... | |
int | nconts |
The number of contours in the set. More... | |
float | bmin [3] |
The minimum bounds in world space. [(x, y, z)]. More... | |
float | bmax [3] |
The maximum bounds in world space. [(x, y, z)]. More... | |
float | cs |
The size of each cell. (On the xz-plane.) More... | |
float | ch |
The height of each cell. (The minimum increment along the y-axis.) More... | |
int | width |
The width of the set. (Along the x-axis in cell units.) More... | |
int | height |
The height of the set. (Along the z-axis in cell units.) More... | |
int | borderSize |
The AABB border size used to generate the source data from which the contours were derived. More... | |
float | maxError |
The max edge error that this contour set was simplified with. More... | |
Represents a group of related contours.
All contours within the set share the minimum bounds and cell sizes of the set.
The standard process for building a contour set is to allocate it using rcAllocContourSet, then initialize it using rcBuildContours.
rcContourSet::rcContourSet | ( | ) |
rcContourSet::~rcContourSet | ( | ) |
float rcContourSet::bmax[3] |
The maximum bounds in world space. [(x, y, z)].
float rcContourSet::bmin[3] |
The minimum bounds in world space. [(x, y, z)].
int rcContourSet::borderSize |
The AABB border size used to generate the source data from which the contours were derived.
float rcContourSet::ch |
The height of each cell. (The minimum increment along the y-axis.)
float rcContourSet::cs |
The size of each cell. (On the xz-plane.)
int rcContourSet::height |
The height of the set. (Along the z-axis in cell units.)
float rcContourSet::maxError |
The max edge error that this contour set was simplified with.
int rcContourSet::nconts |
The number of contours in the set.
int rcContourSet::width |
The width of the set. (Along the x-axis in cell units.)