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

A struct that stores the endpoints of a connection, and the IDs of the layers to which this connection is associated. More...

#include <UUCS.h>

Public Attributes

ConnectionIndex id
 The unique ID of the connection in the environment. More...
 
VertexData3D endpoint1
 The first 3D endpoint of the connection. More...
 
VertexData3D endpoint2
 The second 3D endpoint of the connection. More...
 
LayerIndex layerID1
 The ID of the first layer to which this connection is associated. More...
 
LayerIndex layerID2
 The ID of the second layer to which this connection is associated. More...
 

Detailed Description

A struct that stores the endpoints of a connection, and the IDs of the layers to which this connection is associated.

It is used by the DLL to communicate the connection between two layers of the environment.

Member Data Documentation

◆ endpoint1

VertexData3D ConnectionData::endpoint1

The first 3D endpoint of the connection.

◆ endpoint2

VertexData3D ConnectionData::endpoint2

The second 3D endpoint of the connection.

◆ id

ConnectionIndex ConnectionData::id

The unique ID of the connection in the environment.

◆ layerID1

LayerIndex ConnectionData::layerID1

The ID of the first layer to which this connection is associated.

◆ layerID2

LayerIndex ConnectionData::layerID2

The ID of the second layer to which this connection is associated.


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