Polygonal area is one of two supported types of pedestrian areas in AnyLogic. Use Polygonal area when your area has complex form. If your area is rectangular, use Rectangular area instead.
You can make the area sloped, e.g. to model stairs.
This document describes only the specifics of the polygonal area, for the general information on pedestrian areas, please refer here.
To draw a polygonal area
Name – The name of the shape. The name is used to identify and access the shape from code.
Ignore – If selected, the shape is excluded from the model.
Visible on upper level – If selected, the area is also visible on the upper level where this agent lives.Lock – If selected, the area shape is locked. Locked shapes do not react to mouse clicks - it is impossible to select them in the graphical editor until you unlock them.
Visible – Here you specify whether the shape is visible on animation at model runtime, or not. Using the control, choose yes or no.
Click this button to create attractors inside the area. Attractors are
the places where the pedestrians will tend to get.
Fill color – Shape's fill color. Choose No Fill, if you do not want shape to be filled.
Line color – Outline color. Choose No Line, if you do not want outline to be drawn.
Line width – Outline width.
Line style – [Enabled only if the Show in 3D checkbox is not selected] Outline style. Choose from the drop-down list, whether you want solid, dashed, or dotted outline to be drawn.
Ground – The ground this area belongs to.
X – X-coordinate of the area's start point.
Y – Y-coordinate of the area's start point.
Z – [Enabled if Show in 3D option is selected] Z-coordinate of the area, in meters. The value is relative to the Z-coordinate of the area's ground.
Sloped – If selected, this area lies on an inclining plane (e.g. it defines an escalator connecting two floors). To know more about defining inclining areas, please refer here.
The table located in the Points property section enables users to view and adjust coordinates of target line points.
Here you define
relative coordinates, not the absolute
ones. The first point always has coordinates (0,0)
that can not be
Other rows of the table define relative coordinates of the successive points. Coordinates of each point are actually offsets of the corresponding point from the start point along X and Y axes correspondingly.
Show in - Here you can choose whether you want the shape to be shown both In 2D and 3D animation, or in 2D only, or in 3D only.
– If selected, the shape's name is displayed on the graphical