Class Profile

Class Documentation

class Profile

Public Functions

Profile(geometry::ConstFinalConvexShapePtr footprint, geometry::ConstFinalConvexShapePtr vicinity = nullptr)

Constructor

Parameters:
  • footprint[in] An estimate of the space that this participant occupies.

  • vicinity[in] An estimate of the vicinity around the participant in which the presence of other traffic would disrupt its operations. If a nullptr is used for this, the footprint shape will be used as the vicinity.

bool operator==(const Profile &rhs) const

Equality operator.

Profile &footprint(geometry::ConstFinalConvexShapePtr shape)

Set the footprint of the participant.

const geometry::ConstFinalConvexShapePtr &footprint() const

Get the footprint of the participant.

Profile &vicinity(geometry::ConstFinalConvexShapePtr shape)

Set the vicinity of this participant.

const geometry::ConstFinalConvexShapePtr &vicinity() const

Get the vicinity of this participant.