Classes | |
| struct | Intersections |
Functions | |
| double | first_circle_segment_intersection_parameter (const Vec2d ¢er, const double r, const Vec2d &pt, const Vec2d &v) |
| Intersections | point_point_equal_distance_points (const Point &pt1, const Point &pt2, const double d) |
| Intersections | line_point_equal_distance_points (const Line &line, const Point &ipt, const double d) |
| template<typename VertexType> | |
| bool | vertex_equal_to_point (const VertexType &vertex, const Point &ipt) |
| bool | vertex_equal_to_point (const VD::vertex_type *vertex, const Point &ipt) |
| double | dist_to_site (const Lines &lines, const VD::cell_type &cell, const Vec2d &point) |
| bool | on_site (const Lines &lines, const VD::cell_type &cell, const Vec2d &pt) |
| std::pair< Vec2d, Vec2d > | point_point_dr_dl_thresholds (const Point &pt1_site, const Point &pt2_site, const Vec2d &voronoi_point1, const Vec2d &voronoi_point2, const double threshold_tan_alpha_half) |
| std::pair< Vec2d, Vec2d > | point_segment_dr_dl_thresholds (const Point &pt_site, const Line &line_site, const Vec2d &voronoi_point1, const Vec2d &voronoi_point2, const double threshold_tan_alpha_half) |
| std::pair< Vec2d, Vec2d > | point_point_skeleton_thresholds (const Point &pt1_site, const Point &pt2_site, const Vec2d &voronoi_point1, const Vec2d &voronoi_point2, const double tan_alpha_half) |
| std::pair< Vec2d, Vec2d > | point_segment_skeleton_thresholds (const Point &pt_site, const Line &line_site, const Vec2d &voronoi_point1, const Vec2d &voronoi_point2, const double threshold_cos_alpha) |
| struct Slic3r::Voronoi::detail::Intersections |
| Class Members | ||
|---|---|---|
| int | count | |
| Vec2d | pts[2] | |
| double Slic3r::Voronoi::detail::dist_to_site | ( | const Lines & | lines, |
| const VD::cell_type & | cell, | ||
| const Vec2d & | point ) |
References Slic3r::Line::a, Slic3r::Line::b, and Slic3r::Geometry::foot_pt().
Referenced by Slic3r::Voronoi::edge_offset_contour_intersections(), Slic3r::Voronoi::offset(), Slic3r::Voronoi::debug::verify_offset_intersection_points(), and Slic3r::Voronoi::debug::verify_signed_distances().
| double Slic3r::Voronoi::detail::first_circle_segment_intersection_parameter | ( | const Vec2d & | center, |
| const double | r, | ||
| const Vec2d & | pt, | ||
| const Vec2d & | v ) |
References Slic3r::center(), EPSILON, and SCALED_EPSILON.
Referenced by Slic3r::Voronoi::edge_offset_contour_intersections().
| Intersections Slic3r::Voronoi::detail::line_point_equal_distance_points | ( | const Line & | line, |
| const Point & | ipt, | ||
| const double | d ) |
References Slic3r::Line::a, Slic3r::Line::b, Slic3r::cast(), Slic3r::cross2(), Slic3r::f(), Slic3r::Geometry::foot_pt(), Slic3r::l2(), Slic3r::Voronoi::detail::Intersections::pts, Slic3r::Geometry::ray_point_distance(), and SCALED_EPSILON.
Referenced by Slic3r::Voronoi::edge_offset_contour_intersections().
| bool Slic3r::Voronoi::detail::on_site | ( | const Lines & | lines, |
| const VD::cell_type & | cell, | ||
| const Vec2d & | pt ) |
References Slic3r::Line::a, Slic3r::Line::b, Slic3r::Voronoi::contour_point(), and vertex_equal_to_point().
Referenced by Slic3r::Voronoi::annotate_inside_outside(), and Slic3r::Voronoi::debug::verify_vertices_on_contour().
| std::pair< Vec2d, Vec2d > Slic3r::Voronoi::detail::point_point_dr_dl_thresholds | ( | const Point & | pt1_site, |
| const Point & | pt2_site, | ||
| const Vec2d & | voronoi_point1, | ||
| const Vec2d & | voronoi_point2, | ||
| const double | threshold_tan_alpha_half ) |
References Slic3r::cast(), and Slic3r::dot().
Referenced by Slic3r::Voronoi::skeleton_edges_rough().
| Intersections Slic3r::Voronoi::detail::point_point_equal_distance_points | ( | const Point & | pt1, |
| const Point & | pt2, | ||
| const double | d ) |
References Slic3r::f(), Slic3r::Voronoi::detail::Intersections::pts, and SCALED_EPSILON.
Referenced by Slic3r::Voronoi::edge_offset_contour_intersections().
| std::pair< Vec2d, Vec2d > Slic3r::Voronoi::detail::point_point_skeleton_thresholds | ( | const Point & | pt1_site, |
| const Point & | pt2_site, | ||
| const Vec2d & | voronoi_point1, | ||
| const Vec2d & | voronoi_point2, | ||
| const double | tan_alpha_half ) |
References Slic3r::cast(), and Slic3r::dot().
| std::pair< Vec2d, Vec2d > Slic3r::Voronoi::detail::point_segment_dr_dl_thresholds | ( | const Point & | pt_site, |
| const Line & | line_site, | ||
| const Vec2d & | voronoi_point1, | ||
| const Vec2d & | voronoi_point2, | ||
| const double | threshold_tan_alpha_half ) |
References Slic3r::Line::a, Slic3r::Line::b, Slic3r::cast(), Slic3r::dot(), and Slic3r::Geometry::foot_pt().
Referenced by Slic3r::Voronoi::skeleton_edges_rough().
| std::pair< Vec2d, Vec2d > Slic3r::Voronoi::detail::point_segment_skeleton_thresholds | ( | const Point & | pt_site, |
| const Line & | line_site, | ||
| const Vec2d & | voronoi_point1, | ||
| const Vec2d & | voronoi_point2, | ||
| const double | threshold_cos_alpha ) |
References Slic3r::Line::a, Slic3r::Line::b, Slic3r::cast(), Slic3r::dot(), Slic3r::Geometry::foot_pt(), and Slic3r::sqr().
| bool Slic3r::Voronoi::detail::vertex_equal_to_point | ( | const VD::vertex_type * | vertex, |
| const Point & | ipt ) |
|
inline |
Referenced by Slic3r::Voronoi::annotate_inside_outside(), on_site(), and vertex_equal_to_point().