![]() |
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]. | |
| int | nconts |
| The number of contours in the set. | |
| float | bmin [3] |
| The minimum bounds in world space. [(x, y, z)]. | |
| float | bmax [3] |
| The maximum bounds in world space. [(x, y, z)]. | |
| float | cs |
| The size of each cell. (On the xz-plane.) | |
| float | ch |
| The height of each cell. (The minimum increment along the y-axis.) | |
| int | width |
| The width of the set. (Along the x-axis in cell units.) | |
| int | height |
| The height of the set. (Along the z-axis in cell units.) | |
| int | borderSize |
| The AABB border size used to generate the source data from which the contours were derived. | |
| float | maxError |
| The max edge error that this contour set was simplified with. | |
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.)