Adaptagrams
Public Member Functions | List of all members
Avoid::Checkpoint Class Reference

A checkpoint is a point that the route for a particular connector must visit. They may optionally be given an arrival/departure direction. More...

#include <connector.h>

Collaboration diagram for Avoid::Checkpoint:
Collaboration graph

Public Member Functions

 Checkpoint (const Point &p)
 A point that a route must visit. More...
 
 Checkpoint (const Point &p, ConnDirFlags ad, ConnDirFlags dd)
 A point that a route must visit. More...
 

Detailed Description

A checkpoint is a point that the route for a particular connector must visit. They may optionally be given an arrival/departure direction.

Constructor & Destructor Documentation

◆ Checkpoint() [1/2]

Avoid::Checkpoint::Checkpoint ( const Point p)
inline

A point that a route must visit.

The connector will be able to enter and leave this checkpoint from any direction.

Parameters
[in]pThe Point that must be visited.

◆ Checkpoint() [2/2]

Avoid::Checkpoint::Checkpoint ( const Point p,
ConnDirFlags  ad,
ConnDirFlags  dd 
)
inline

A point that a route must visit.

The connector will be able to enter and leave this checkpoint from the directions specified. Give Avoid::ConnDirAll to specify all directions.

Parameters
[in]pThe Point that must be visited.
[in]adAvoid::ConnDirFlags denoting arrival directions for the connector portion leading up to this checkpoint.
[in]ddAvoid::ConnDirFlags denoting departure directions for the connector portion leading away from this checkpoint.

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