#include <regular_squares_grid.h>
|
| static constexpr double | Dbl_Inf = std::numeric_limits<double>::infinity() |
| |
Definition at line 13 of file regular_squares_grid.h.
| RegularSquaresGrid::RegularSquaresGrid |
( |
int |
w, |
|
|
int |
h, |
|
|
double |
scale |
|
) |
| |
|
inline |
| virtual RegularSquaresGrid::~RegularSquaresGrid |
( |
| ) |
|
|
virtualdefault |
| Point2D RegularSquaresGrid::cell_to_world |
( |
const Coord & |
cell | ) |
const |
|
inline |
| Coord RegularSquaresGrid::external2internal |
( |
const Coord & |
coord | ) |
const |
|
inlineprotected |
| virtual bool RegularSquaresGrid::has_cell |
( |
const Coord & |
c | ) |
const |
|
inlinevirtual |
| bool RegularSquaresGrid::has_internal_cell |
( |
const Coord & |
c | ) |
const |
|
inlineprotected |
| virtual int RegularSquaresGrid::height |
( |
| ) |
const |
|
inlinevirtual |
| Coord RegularSquaresGrid::internal2external |
( |
const Coord & |
coord | ) |
const |
|
inline |
| virtual void RegularSquaresGrid::rescale |
( |
double |
| ) |
|
|
inlinevirtual |
| virtual double RegularSquaresGrid::scale |
( |
| ) |
const |
|
inlinevirtual |
| void RegularSquaresGrid::set_height |
( |
unsigned |
h | ) |
|
|
inlineprotected |
| void RegularSquaresGrid::set_scale |
( |
double |
s | ) |
|
|
inlineprotected |
| void RegularSquaresGrid::set_width |
( |
unsigned |
w | ) |
|
|
inlineprotected |
| virtual int RegularSquaresGrid::width |
( |
| ) |
const |
|
inlinevirtual |
| Rectangle RegularSquaresGrid::world_cell_bounds |
( |
const Coord & |
coord | ) |
const |
|
inline |
| Coord RegularSquaresGrid::world_to_cell |
( |
const Point2D & |
pt | ) |
const |
|
inline |
| Coord RegularSquaresGrid::world_to_cell |
( |
double |
x, |
|
|
double |
y |
|
) |
| const |
|
inline |
| Coord RegularSquaresGrid::world_to_cell |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
scale |
|
) |
| const |
|
inline |
| std::vector<Coord> RegularSquaresGrid::world_to_cells |
( |
const Segment2D & |
s | ) |
const |
|
inline |
| int RegularSquaresGrid::_height |
|
private |
| double RegularSquaresGrid::_m_per_cell |
|
private |
| int RegularSquaresGrid::_width |
|
private |
| constexpr double RegularSquaresGrid::Dbl_Inf = std::numeric_limits<double>::infinity() |
|
static |
The documentation for this class was generated from the following file: