Recast Navigation  1.0.35
rcContourSet Struct Reference

Represents a group of related contours. More...

#include <Recast.h>

Public Attributes

rcContourconts
 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 cellSizeXZ
 The size of each cell. (On the xz-plane.) More...
 
float cellSizeY
 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...
 

Description

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.

See also
rcAllocContourSet, rcFreeContourSet, rcBuildContours

Member Data Documentation

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::cellSizeXZ

The size of each cell. (On the xz-plane.)

float rcContourSet::cellSizeY

The height of each cell. (The minimum increment along the y-axis.)

rcContour* rcContourSet::conts

An array of the contours in the set. [Size: nconts].

int rcContourSet::height

The height of the set. (Along the z-axis in cell units.)

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.)


The documentation for this struct was generated from the following file: