Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
RectangleGridRasterizationTest Class Reference
Inheritance diagram for RectangleGridRasterizationTest:
Inheritance graph
[legend]

Public Member Functions

 RectangleGridRasterizationTest ()
 

Protected Types

using AreaId = RegularSquaresGrid::Coord
 
using AreaIds = std::set< AreaId >
 

Protected Member Functions

AreaIds area_to_ids (const Point2D &center, double side_len)
 
AreaIds area_to_ids (const Point2D &offset, double bot_len, double top_len, double left_len, double right_len)
 
void test_area_alignement (const Directions &dirs)
 
void test_area_exceeding (const Directions &dirs)
 

Protected Attributes

RegularSquaresGrid grid
 

Static Protected Attributes

static constexpr double Cell_Len = Grid_Scale
 
static constexpr double Grid_Scale = 0.5
 
static constexpr double Half_Cell_Len = Cell_Len / 2
 
static constexpr double Quat_Cell_Len = Half_Cell_Len / 2
 

Detailed Description

Definition at line 10 of file grid_rasterization_test.cpp.

Member Typedef Documentation

Definition at line 20 of file grid_rasterization_test.cpp.

Definition at line 21 of file grid_rasterization_test.cpp.

Constructor & Destructor Documentation

RectangleGridRasterizationTest::RectangleGridRasterizationTest ( )
inline

Definition at line 17 of file grid_rasterization_test.cpp.

Member Function Documentation

AreaIds RectangleGridRasterizationTest::area_to_ids ( const Point2D center,
double  side_len 
)
inlineprotected

Definition at line 24 of file grid_rasterization_test.cpp.

AreaIds RectangleGridRasterizationTest::area_to_ids ( const Point2D offset,
double  bot_len,
double  top_len,
double  left_len,
double  right_len 
)
inlineprotected

Definition at line 32 of file grid_rasterization_test.cpp.

void RectangleGridRasterizationTest::test_area_alignement ( const Directions dirs)
inlineprotected

Definition at line 135 of file grid_rasterization_test.cpp.

void RectangleGridRasterizationTest::test_area_exceeding ( const Directions dirs)
inlineprotected

Definition at line 62 of file grid_rasterization_test.cpp.

Member Data Documentation

constexpr double RectangleGridRasterizationTest::Cell_Len = Grid_Scale
staticprotected

Definition at line 13 of file grid_rasterization_test.cpp.

RegularSquaresGrid RectangleGridRasterizationTest::grid
protected

Definition at line 172 of file grid_rasterization_test.cpp.

constexpr double RectangleGridRasterizationTest::Grid_Scale = 0.5
staticprotected

Definition at line 12 of file grid_rasterization_test.cpp.

constexpr double RectangleGridRasterizationTest::Half_Cell_Len = Cell_Len / 2
staticprotected

Definition at line 14 of file grid_rasterization_test.cpp.

constexpr double RectangleGridRasterizationTest::Quat_Cell_Len = Half_Cell_Len / 2
staticprotected

Definition at line 15 of file grid_rasterization_test.cpp.


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


slam_constructor
Author(s): JetBrains Research, OSLL team
autogenerated on Mon Jun 10 2019 15:08:26