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

A struct that stores the list of vertices of an obstacle. More...

#include <UUCS.h>

Public Attributes

PrimitiveIndex id
 The ID of the obstacle. Each obstacle has a unique ID within the environment it belongs to. More...
 
VertexDatavertices
 A VertexData array that stores all vertices that describe the obstacle. More...
 
int numVertices
 The number of vertices that describe the obstacle, i.e. the size of the vertices array. More...
 

Detailed Description

A struct that stores the list of vertices of an obstacle.

Member Data Documentation

◆ id

PrimitiveIndex ObstacleData::id

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

◆ numVertices

int ObstacleData::numVertices

The number of vertices that describe the obstacle, i.e. the size of the vertices array.

◆ vertices

VertexData* ObstacleData::vertices

A VertexData array that stores all vertices that describe the obstacle.


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