Public Member Functions | Private Attributes | List of all members
GridRasterizedRectangle Class Reference

#include <grid_rasterization.h>

Public Member Functions

 GridRasterizedRectangle (const RegularSquaresGrid &grid, const LightWeightRectangle &r, bool include_border=true)
 
bool has_next ()
 
RegularSquaresGrid::Coord next ()
 
auto to_vector ()&&
 

Private Attributes

RegularSquaresGrid::Coord _lb
 
RegularSquaresGrid::Coord _rt
 
int _x
 
int _y
 

Detailed Description

Definition at line 13 of file grid_rasterization.h.

Constructor & Destructor Documentation

GridRasterizedRectangle::GridRasterizedRectangle ( const RegularSquaresGrid grid,
const LightWeightRectangle r,
bool  include_border = true 
)
inline

Definition at line 26 of file grid_rasterization.h.

Member Function Documentation

bool GridRasterizedRectangle::has_next ( )
inline

Definition at line 50 of file grid_rasterization.h.

RegularSquaresGrid::Coord GridRasterizedRectangle::next ( )
inline

Definition at line 56 of file grid_rasterization.h.

auto GridRasterizedRectangle::to_vector ( )
inline

Definition at line 66 of file grid_rasterization.h.

Member Data Documentation

RegularSquaresGrid::Coord GridRasterizedRectangle::_lb
private

Definition at line 73 of file grid_rasterization.h.

RegularSquaresGrid::Coord GridRasterizedRectangle::_rt
private

Definition at line 73 of file grid_rasterization.h.

int GridRasterizedRectangle::_x
private

Definition at line 74 of file grid_rasterization.h.

int GridRasterizedRectangle::_y
private

Definition at line 74 of file grid_rasterization.h.


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