![]() |
Prusa Slicer 2.6.0
|
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 = typedef typename Traits<remove_cvref_t<L> >::Scalar |
| double Slic3r::line_alg::distance_to | ( | const L & | line, |
| const Vec< Dim< L >, Scalar< L > > & | point | ||
| ) |
References distance_to_squared().
Referenced by Slic3r::ExtrusionQualityEstimator::estimate_speed_from_extrusion_quality().
Here is the call graph for this function:
Here is the caller graph for this function:| double Slic3r::line_alg::distance_to_infinite | ( | const L & | line, |
| const Vec< Dim< L >, Scalar< L > > & | point | ||
| ) |
References distance_to_infinite_squared().
Here is the call graph for this function:| double Slic3r::line_alg::distance_to_infinite_squared | ( | const L & | line, |
| const Vec< Dim< L >, Scalar< L > > & | point | ||
| ) |
References Slic3r::nearest_point().
Here is the call graph for this function:| 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 cast(), get_a(), get_b(), and Slic3r::l2().
Referenced by distance_to_infinite(), Slic3r::Line::distance_to_infinite_squared(), and Slic3r::Line::distance_to_infinite_squared().
Here is the call graph for this function:
Here is the caller graph for this function:| double Slic3r::line_alg::distance_to_squared | ( | const L & | line, |
| const Vec< Dim< L >, Scalar< L > > & | point | ||
| ) |
References Slic3r::nearest_point().
Here is the call graph for this function:
|
inline |
References cast(), get_a(), get_b(), Slic3r::l2(), and Slic3r::nearest_point().
Referenced by Slic3r::clip_extrusion(), Slic3r::AABBTreeLines::detail::IndexedLinesDistancer< ALineType, ATreeType, AVectorType >::closest_point_to_origin(), Slic3r::FillAdaptive::connect_lines_using_hooks(), distance_to(), Slic3r::Line::distance_to_squared(), Slic3r::Line::distance_to_squared(), Slic3r::foot_pt(), Slic3r::FillLightning::Layer::getBestGroundingLocation(), Slic3r::line_rounded_thick_segment_collision(), Slic3r::mark_boundary_segments_overlapping_infill(), Slic3r::MinDistanceVisitor::operator()(), and Slic3r::Polyline::split_at().
Here is the call graph for this function:
Here is the caller graph for this function:References get_a().
Referenced by distance_to_infinite_squared(), distance_to_squared(), and get_a().
Here is the call graph for this function:
Here is the caller graph for this function:References get_b().
Referenced by distance_to_infinite_squared(), distance_to_squared(), and get_b().
Here is the call graph for this function:
Here is the caller graph for this function:| bool Slic3r::line_alg::intersection | ( | const L & | l1, |
| const L & | l2, | ||
| Vec< Dim< L >, Scalar< L > > * | intersection_pt | ||
| ) |
References cast(), Slic3r::cross2(), EPSILON, and Slic3r::l2().
Referenced by Slic3r::AABBTreeLines::detail::get_intersections_with_line(), and Slic3r::Line::intersection().
Here is the call graph for this function:
Here is the caller graph for this function:
|
constexpr |