Public Member Functions | Public Attributes | List of all members
Area Struct Reference

#include <area.h>

Public Member Functions

 Area (TileId center, int blocks)
 Creates a square area with the center center and the radius blocks. More...
 

Public Attributes

TileId center
 
TileCoordinate left_top
 
TileCoordinate right_bottom
 

Detailed Description

A square area around a specific tile.

See also
areaContainsTile

Definition at line 31 of file area.h.

Constructor & Destructor Documentation

◆ Area()

Area::Area ( TileId  center,
int  blocks 
)
inline

Creates a square area with the center center and the radius blocks.

Parameters
centerCenter of the area
blocksRadius around center

Definition at line 42 of file area.h.

Member Data Documentation

◆ center

TileId Area::center

Definition at line 35 of file area.h.

◆ left_top

TileCoordinate Area::left_top

Definition at line 33 of file area.h.

◆ right_bottom

TileCoordinate Area::right_bottom

Definition at line 34 of file area.h.


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


rviz_satellite
Author(s): Gareth Cross , Andre Schröder
autogenerated on Thu May 4 2023 02:31:43