Functions | |
void | add_densely (std::vector< MapXY > &points, const MapXY &p1, const MapXY &p2, const float &max_spacing) |
void | add_new_node (const struct triangulateio &t, const int &i, int &index, std::vector< WayPointNode > &nodes, std::map< int, WayPointNode > &original_node_index) |
ZonePerimeter | build_fake_zone (const std::vector< MapXY > &points_to_include, float border_width) |
void | build_new_graph (const WayPointNodeList &nodes, const WayPointEdgeList &edges, Graph &g) |
ZonePerimeterList | build_zone_list_from_rndf (RNDF &rndf, Graph &graph) |
ZonePerimeter | build_zone_perimeter_from_zone (Graph &graph, Zone &zone) |
segment_id_t | containing_zone (const ZonePerimeterList &zones, const MapXY &point) |
int | filter_nodes_and_edges (WayPointNodeList &nodes, WayPointEdgeList &edges, float safety_radius) |
ZonePerimeter | get_zone_by_id (const ZonePerimeterList &zones, const segment_id_t &zone_id) |
int | intersections_of_segment_and_ray_to_right (const MapXY &p1, const MapXY &p2, const MapXY &p3, const MapXY &r) |
bool | is_a_zone_id (const ZonePerimeterList &zones, const segment_id_t &zone_id) |
WayPointNodeList | path_through_zone (const ZonePerimeter &zone, float perimeter_sample, float safety_radius, const ObstacleList &obstacles, MapXY start, MapXY end, bool write_graph, bool write_poly, bool write_obstacles, float scale, int max_cells) |
bool | point_in_zone (const ZonePerimeter &zone, const MapXY &point) |
void | populate_triangulateio (struct triangulateio &t, const ZonePerimeter &zone, const ObstacleList &obstacles, const float &max_spacing, bool write_obstacles) |
void | print_graph_as_voronoi (Graph &graph) |
void | print_tio (const struct triangulateio &t) |
void | print_zone (const ZonePerimeter &zone) |
void | print_zone_list (const ZonePerimeterList &zones) |
WayPointNode | starting_node_for_zone (const ZonePerimeter &zone) |
void ZoneOps::add_densely | ( | std::vector< MapXY > & | points, |
const MapXY & | p1, | ||
const MapXY & | p2, | ||
const float & | max_spacing | ||
) |
Definition at line 417 of file ZoneOps.cc.
void ZoneOps::add_new_node | ( | const struct triangulateio & | t, |
const int & | i, | ||
int & | index, | ||
std::vector< WayPointNode > & | nodes, | ||
std::map< int, WayPointNode > & | original_node_index | ||
) |
ZonePerimeter ZoneOps::build_fake_zone | ( | const std::vector< MapXY > & | points_to_include, |
float | border_width | ||
) |
void ZoneOps::build_new_graph | ( | const WayPointNodeList & | nodes, |
const WayPointEdgeList & | edges, | ||
Graph & | g | ||
) |
Definition at line 453 of file ZoneOps.cc.
ZonePerimeterList ZoneOps::build_zone_list_from_rndf | ( | RNDF & | rndf, |
Graph & | graph | ||
) |
Definition at line 574 of file ZoneOps.cc.
ZonePerimeter ZoneOps::build_zone_perimeter_from_zone | ( | Graph & | graph, |
Zone & | zone | ||
) |
Definition at line 603 of file ZoneOps.cc.
segment_id_t ZoneOps::containing_zone | ( | const ZonePerimeterList & | zones, |
const MapXY & | point | ||
) |
Definition at line 641 of file ZoneOps.cc.
int ZoneOps::filter_nodes_and_edges | ( | WayPointNodeList & | nodes, |
WayPointEdgeList & | edges, | ||
float | safety_radius | ||
) |
ZonePerimeter ZoneOps::get_zone_by_id | ( | const ZonePerimeterList & | zones, |
const segment_id_t & | zone_id | ||
) |
Definition at line 553 of file ZoneOps.cc.
int ZoneOps::intersections_of_segment_and_ray_to_right | ( | const MapXY & | p1, |
const MapXY & | p2, | ||
const MapXY & | p3, | ||
const MapXY & | r | ||
) |
Definition at line 671 of file ZoneOps.cc.
bool ZoneOps::is_a_zone_id | ( | const ZonePerimeterList & | zones, |
const segment_id_t & | zone_id | ||
) |
Definition at line 564 of file ZoneOps.cc.
WayPointNodeList ZoneOps::path_through_zone | ( | const ZonePerimeter & | zone, |
float | perimeter_sample, | ||
float | safety_radius, | ||
const ObstacleList & | obstacles, | ||
MapXY | start, | ||
MapXY | end, | ||
bool | write_graph, | ||
bool | write_poly, | ||
bool | write_obstacles, | ||
float | scale, | ||
int | max_cells | ||
) |
bool ZoneOps::point_in_zone | ( | const ZonePerimeter & | zone, |
const MapXY & | point | ||
) |
Definition at line 651 of file ZoneOps.cc.
void ZoneOps::populate_triangulateio | ( | struct triangulateio & | t, |
const ZonePerimeter & | zone, | ||
const ObstacleList & | obstacles, | ||
const float & | max_spacing, | ||
bool | write_obstacles | ||
) |
void ZoneOps::print_graph_as_voronoi | ( | Graph & | graph | ) |
void ZoneOps::print_tio | ( | const struct triangulateio & | t | ) |
void ZoneOps::print_zone | ( | const ZonePerimeter & | zone | ) |
Definition at line 629 of file ZoneOps.cc.
void ZoneOps::print_zone_list | ( | const ZonePerimeterList & | zones | ) |
Definition at line 622 of file ZoneOps.cc.
WayPointNode ZoneOps::starting_node_for_zone | ( | const ZonePerimeter & | zone | ) |
Definition at line 542 of file ZoneOps.cc.