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

A struct that stores the two dimensional array index, the corresponded positions in the environment, and the density in the grid It can be used to communicate the index, position, and density of each grid in the density map. More...

#include <UUCS.h>

Public Attributes

int x
 The X index of the grid. More...
 
int y
 The Y index of the grid. More...
 
double xPosition
 The x Position in the scenario. More...
 
double yPosition
 The y Position in the scenario. More...
 
double density
 Indicates whether the Character is moving or reached its goal. More...
 

Detailed Description

A struct that stores the two dimensional array index, the corresponded positions in the environment, and the density in the grid It can be used to communicate the index, position, and density of each grid in the density map.

Member Data Documentation

◆ density

double DensityMapGrid::density

Indicates whether the Character is moving or reached its goal.

◆ x

int DensityMapGrid::x

The X index of the grid.

◆ xPosition

double DensityMapGrid::xPosition

The x Position in the scenario.

◆ y

int DensityMapGrid::y

The Y index of the grid.

◆ yPosition

double DensityMapGrid::yPosition

The y Position in the scenario.


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