Portals¶
Pointr SDK has the concept of “Portals”, the purpose is note for pathfinding purposes areas that connect two different places in certain ways, and are not simple hallways.
Examples of portals include Escalators, Elevators, Stairs, Moving Walkways, devices that connect two buildings (for example a underground tram) and so on.
Configuring Portals¶
The configuration of portals is done using Pointr Cloud for most part, refer to that section of the documentation to learn more about it.
Portals Duration¶
The portals have a value named “duration”, that is the approximate time it takes for a person to go through that portal, this helps calculate pathfinding estimations more correctly, for example someone going between floors will have to stand in line for some seconds to get in the elevator in particularly busy buildings, so this might be reflected with a custom portal duration.
Portal duration is always configured using “seconds” as measurement.
Portals Default Duration¶
Portals have a default duration, in case it wasn’t customized.
SDK 8 and onwards:¶
- Escalator -> 45
- Elevator -> 120
- Service Lift -> 120
- Stairs -> 60
- Service Stairs -> 60
- Moving Walkway -> 30
- Angular Stairs -> 60
- Inter Building Portal -> 600
- Skewed Lift -> 120
All earlier versions of the SDK:¶
- Inter Building Portal -> 900
- All others -> 60