Classes | |
| struct | Traits |
Typedefs | |
| template<class L> | |
| using | Scalar = typename Traits<remove_cvref_t<L>>::Scalar |
Functions | |
| template<class L> | |
| auto | get_a (L &&l) |
| template<class L> | |
| auto | get_b (L &&l) |
| template<class L> | |
| double | distance_to_squared (const L &line, const Vec< Dim< L >, Scalar< L > > &point, Vec< Dim< L >, Scalar< L > > *nearest_point) |
| template<class L> | |
| double | distance_to_squared (const L &line, const Vec< Dim< L >, Scalar< L > > &point) |
| template<class L> | |
| double | distance_to (const L &line, const Vec< Dim< L >, Scalar< L > > &point) |
| template<class L> | |
| double | distance_to_infinite_squared (const L &line, const Vec< Dim< L >, Scalar< L > > &point, Vec< Dim< L >, Scalar< L > > *closest_point) |
| template<class L> | |
| double | distance_to_infinite_squared (const L &line, const Vec< Dim< L >, Scalar< L > > &point) |
| template<class L> | |
| double | distance_to_infinite (const L &line, const Vec< Dim< L >, Scalar< L > > &point) |
| template<class L> | |
| bool | intersection (const L &l1, const L &l2, Vec< Dim< L >, Scalar< L > > *intersection_pt) |
Variables | |
| template<class L> | |
| const constexpr int | Dim = Traits<remove_cvref_t<L>>::Dim |
| using Slic3r::line_alg::Scalar = typename Traits<remove_cvref_t<L>>::Scalar |
| double Slic3r::line_alg::distance_to | ( | const L & | line, |
| const Vec< Dim< L >, Scalar< L > > & | point ) |
References Dim, distance_to_squared(), and L.
Referenced by Slic3r::create_exclude_mask(), Slic3r::evaluate_support_arch_cost(), and Slic3r::FillAdaptive::multiline_paths().
| double Slic3r::line_alg::distance_to_infinite | ( | const L & | line, |
| const Vec< Dim< L >, Scalar< L > > & | point ) |
References Dim, distance_to_infinite_squared(), and L.
| double Slic3r::line_alg::distance_to_infinite_squared | ( | const L & | line, |
| const Vec< Dim< L >, Scalar< L > > & | point ) |
References Dim, distance_to_infinite_squared(), and L.
| double Slic3r::line_alg::distance_to_infinite_squared | ( | const L & | line, |
| const Vec< Dim< L >, Scalar< L > > & | point, | ||
| Vec< Dim< L >, Scalar< L > > * | closest_point ) |
References Slic3r::cast(), Dim, get_a(), get_b(), L, and Slic3r::l2().
Referenced by distance_to_infinite(), Slic3r::Line::distance_to_infinite_squared(), Slic3r::Line::distance_to_infinite_squared(), and distance_to_infinite_squared().
| double Slic3r::line_alg::distance_to_squared | ( | const L & | line, |
| const Vec< Dim< L >, Scalar< L > > & | point ) |
| double Slic3r::line_alg::distance_to_squared | ( | const L & | line, |
| const Vec< Dim< L >, Scalar< L > > & | point, | ||
| Vec< Dim< L >, Scalar< L > > * | nearest_point ) |
References Slic3r::cast(), Dim, get_a(), get_b(), L, and Slic3r::l2().
Referenced by Slic3r::AABBTreeLines::detail::IndexedLinesDistancer< ALineType, ATreeType, AVectorType >::closest_point_to_origin(), Slic3r::FillAdaptive::connect_lines_using_hooks(), distance_to(), Slic3r::Line3::distance_to_squared(), Slic3r::Line::distance_to_squared(), Slic3r::Line::distance_to_squared(), distance_to_squared(), Slic3r::FillLightning::Layer::getBestGroundingLocation(), Slic3r::line_rounded_thick_segment_collision(), Slic3r::mark_boundary_segments_overlapping_infill(), and Slic3r::MinDistanceVisitor::operator()().
Referenced by distance_to_infinite_squared(), distance_to_squared(), and get_a().
Referenced by distance_to_infinite_squared(), distance_to_squared(), and get_b().
| bool Slic3r::line_alg::intersection | ( | const L & | l1, |
| const L & | l2, | ||
| Vec< Dim< L >, Scalar< L > > * | intersection_pt ) |
References Slic3r::cast(), Slic3r::cross2(), Dim, EPSILON, L, and Slic3r::l2().
Referenced by Slic3r::WipeTowerIntegration::generate_path_to_wipe_tower(), Slic3r::AABBTreeLines::detail::get_intersections_with_line(), and Slic3r::Line::intersection().
|
constexpr |