Utrecht University Crowd Simulation API
Public Attributes | List of all members
LayerData Struct Reference

A struct that stores the list of obstacles and walkable areas of a layer. More...

#include <UUCS.h>

Public Attributes

LayerIndex id
 The ID of the layer. Each layer has a unique ID within the environment it belongs to. More...
 
ObstacleDataobstacles
 An ObstacleData array that stores all obstacles in the layer. More...
 
int numObstacles
 The number of obstacles in the layer, i.e. the size of the obstacles array. More...
 
WalkableAreaDatawalkableAreas
 A WalkableAreaData array that stores all walkable areas in the layer. More...
 
int numWalkableAreas
 The number of walkable areas in the layer, i.e. the size of the walkableAreas array. More...
 

Detailed Description

A struct that stores the list of obstacles and walkable areas of a layer.

Member Data Documentation

◆ id

LayerIndex LayerData::id

The ID of the layer. Each layer has a unique ID within the environment it belongs to.

◆ numObstacles

int LayerData::numObstacles

The number of obstacles in the layer, i.e. the size of the obstacles array.

◆ numWalkableAreas

int LayerData::numWalkableAreas

The number of walkable areas in the layer, i.e. the size of the walkableAreas array.

◆ obstacles

ObstacleData* LayerData::obstacles

An ObstacleData array that stores all obstacles in the layer.

◆ walkableAreas

WalkableAreaData* LayerData::walkableAreas

A WalkableAreaData array that stores all walkable areas in the layer.


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