#include <area_occupancy_estimator.h>
|
bool | are_on_the_same_side (const Point2D &line_p1, const Point2D &line_p2, const Point2D &p1, const Point2D &p2) |
|
SegmentPositionType | classify_segment (const Segment2D &s, const Rectangle &cell) const |
|
double | compute_chunk_area (const Segment2D &beam, const Rectangle &bnds, bool is_occ, const std::vector< Intersection > &inters) |
|
Segment2D | ensure_segment_not_on_edge (const Segment2D &s, const Rectangle &cell) const |
|
Occupancy | estimate_occupancy (double chunk_area, double total_area, bool is_occ) |
|
Intersections | find_intersections (const Segment2D &beam, const Rectangle &bnds, bool is_occ) |
|
std::tuple< bool, bool > | modified_is_inside (const Segment2D &s, const Rectangle &cell) const |
|
Definition at line 12 of file area_occupancy_estimator.h.
AreaOccupancyEstimator::AreaOccupancyEstimator |
( |
const Occupancy & |
base_occupied, |
|
|
const Occupancy & |
base_empty, |
|
|
double |
low_qual = 0.01 , |
|
|
double |
unknown_qual = 0.5 |
|
) |
| |
|
inline |
bool AreaOccupancyEstimator::are_on_the_same_side |
( |
const Point2D & |
line_p1, |
|
|
const Point2D & |
line_p2, |
|
|
const Point2D & |
p1, |
|
|
const Point2D & |
p2 |
|
) |
| |
|
inlineprivate |
double AreaOccupancyEstimator::compute_chunk_area |
( |
const Segment2D & |
beam, |
|
|
const Rectangle & |
bnds, |
|
|
bool |
is_occ, |
|
|
const std::vector< Intersection > & |
inters |
|
) |
| |
|
inlineprivate |
Occupancy AreaOccupancyEstimator::estimate_occupancy |
( |
double |
chunk_area, |
|
|
double |
total_area, |
|
|
bool |
is_occ |
|
) |
| |
|
inlineprivate |
std::tuple<bool, bool> AreaOccupancyEstimator::modified_is_inside |
( |
const Segment2D & |
s, |
|
|
const Rectangle & |
cell |
|
) |
| const |
|
inlineprivate |
double AreaOccupancyEstimator::_low_qual |
|
private |
double AreaOccupancyEstimator::_unknown_qual |
|
private |
The documentation for this class was generated from the following file: