Namespaces | |
| namespace | ArcWelder |
| namespace | BicubicInternal |
| namespace | rotcalip |
| namespace | impl |
Classes | |
| class | ArrangeItem |
| class | ArrangeItemIndex |
| class | Transformation |
| struct | TransformationSVD |
| struct | CubicKernelWrapper |
| struct | CircleSq |
| struct | Circle |
| struct | PolynomialCurve |
| struct | PiecewiseFittedCurve |
| class | Lines2VDSegments |
| class | MedialAxis |
| class | VoronoiDiagram |
| struct | SegmentCellRange |
| struct | PointCellRange |
| class | VoronoiUtils |
| struct | ParabolicSegment |
| class | VoronoiUtilsCgal |
Typedefs | |
| template<typename NumberType> | |
| using | LinearKernel = CubicKernelWrapper<BicubicInternal::LinearKernel<NumberType>> |
| template<typename NumberType> | |
| using | CubicCatmulRomKernel = CubicKernelWrapper<BicubicInternal::CubicCatmulRomKernel<NumberType>> |
| template<typename NumberType> | |
| using | CubicBSplineKernel = CubicKernelWrapper<BicubicInternal::CubicBSplineKernel<NumberType>> |
| using | Circlef = Circle<Vec2f> |
| using | Circled = Circle<Vec2d> |
| using | VD = VoronoiDiagram |
| using | PolygonsSegmentIndexConstIt = std::vector<Arachne::PolygonsSegmentIndex>::const_iterator |
| using | LinesIt = Lines::iterator |
| using | ColoredLinesConstIt = ColoredLines::const_iterator |
| using | ColoredLinesIt = ColoredLines::iterator |
| using | ParabolicTangentToSegmentOrientation = impl::ParabolicTangentToSegmentOrientationPredicateFiltered |
| using | ParabolicTangentToParabolicTangentOrientation = impl::ParabolicTangentToParabolicTangentOrientationPredicateFiltered |
| using | CGAL_Point = impl::K::Point_2 |
Enumerations | |
| enum | Orientation { ORIENTATION_CCW = 1 , ORIENTATION_CW = -1 , ORIENTATION_COLINEAR = 0 } |
Functions | |
| bool | directions_parallel (double angle1, double angle2, double max_diff) |
| bool | directions_perpendicular (double angle1, double angle2, double max_diff) |
| template<class T> | |
| bool | contains (const std::vector< T > &vector, const Point &point) |
| template bool | contains (const ExPolygons &vector, const Point &point) |
| double | rad2deg_dir (double angle) |
| void | simplify_polygons (const Polygons &polygons, double tolerance, Polygons *retval) |
| double | linint (double value, double oldmin, double oldmax, double newmin, double newmax) |
| bool | arrange (size_t total_parts, const Vec2d &part_size, coordf_t dist, const BoundingBoxf *bb, Pointfs &positions) |
| template<typename T> | |
| T | dist (const boost::polygon::point_data< T > &p1, const boost::polygon::point_data< T > &p2) |
| template<typename segment_type, typename point_type> | |
| point_type | project_point_to_segment (segment_type &seg, point_type &px) |
| void | assemble_transform (Transform3d &transform, const Vec3d &translation, const Vec3d &rotation, const Vec3d &scale, const Vec3d &mirror) |
| Transform3d | assemble_transform (const Vec3d &translation, const Vec3d &rotation, const Vec3d &scale, const Vec3d &mirror) |
| void | assemble_transform (Transform3d &transform, const Transform3d &translation, const Transform3d &rotation, const Transform3d &scale, const Transform3d &mirror) |
| Transform3d | assemble_transform (const Transform3d &translation, const Transform3d &rotation, const Transform3d &scale, const Transform3d &mirror) |
| void | translation_transform (Transform3d &transform, const Vec3d &translation) |
| Transform3d | translation_transform (const Vec3d &translation) |
| void | rotation_transform (Transform3d &transform, const Vec3d &rotation) |
| Transform3d | rotation_transform (const Vec3d &rotation) |
| void | scale_transform (Transform3d &transform, double scale) |
| void | scale_transform (Transform3d &transform, const Vec3d &scale) |
| Transform3d | scale_transform (double scale) |
| Transform3d | scale_transform (const Vec3d &scale) |
| Vec3d | extract_euler_angles (const Eigen::Matrix< double, 3, 3, Eigen::DontAlign > &rotation_matrix) |
| Vec3d | extract_euler_angles (const Transform3d &transform) |
| void | rotation_from_two_vectors (Vec3d from, Vec3d to, Vec3d &rotation_axis, double &phi, Matrix3d *rotation_matrix) |
| static std::pair< Transform3d, Transform3d > | extract_rotation_scale (const Transform3d &trafo) |
| static Transform3d | extract_rotation_matrix (const Transform3d &trafo) |
| static Transform3d | extract_scale (const Transform3d &trafo) |
| static bool | contains_skew (const Transform3d &trafo) |
| Transform3d | transform3d_from_string (const std::string &transform_str) |
| Eigen::Quaterniond | rotation_xyz_diff (const Vec3d &rot_xyz_from, const Vec3d &rot_xyz_to) |
| double | rotation_diff_z (const Vec3d &rot_xyz_from, const Vec3d &rot_xyz_to) |
| Transformation | mat_around_a_point_rotate (const Transformation &InMat, const Vec3d &pt, const Vec3d &axis, float rotate_theta_radian) |
| Transformation | generate_transform (const Vec3d &x_dir, const Vec3d &y_dir, const Vec3d &z_dir, const Vec3d &origin) |
| bool | is_point_inside_polygon_corner (const Point &a, const Point &b, const Point &c, const Point &query_point) |
| static Orientation | orient (const Point &a, const Point &b, const Point &c) |
| static bool | is_ccw (const Polygon &poly) |
| bool | ray_ray_intersection (const Vec2d &p1, const Vec2d &v1, const Vec2d &p2, const Vec2d &v2, Vec2d &res) |
| bool | segment_segment_intersection (const Vec2d &p1, const Vec2d &v1, const Vec2d &p2, const Vec2d &v2, Vec2d &res) |
| bool | segments_intersect (const Slic3r::Point &ip1, const Slic3r::Point &ip2, const Slic3r::Point &jp1, const Slic3r::Point &jp2) |
| template<typename T> | |
| T | foot_pt (const T &line_pt, const T &line_dir, const T &pt) |
| Vec2d | foot_pt (const Line &iline, const Point &ipt) |
| template<typename T> | |
| auto | ray_point_distance_squared (const T &ray_pt, const T &ray_dir, const T &pt) |
| template<typename T> | |
| auto | ray_point_distance (const T &ray_pt, const T &ray_dir, const T &pt) |
| double | ray_point_distance_squared (const Line &iline, const Point &ipt) |
| double | ray_point_distance (const Line &iline, const Point &ipt) |
| template<typename T> | |
| bool | liang_barsky_line_clipping_interval (const Eigen::Matrix< T, 2, 1, Eigen::DontAlign > &x0, const Eigen::Matrix< T, 2, 1, Eigen::DontAlign > &v, const BoundingBoxBase< Eigen::Matrix< T, 2, 1, Eigen::DontAlign > > &bbox, std::pair< double, double > &out_interval) |
| template<typename T> | |
| bool | liang_barsky_line_clipping (Eigen::Matrix< T, 2, 1, Eigen::DontAlign > &x0, Eigen::Matrix< T, 2, 1, Eigen::DontAlign > &x1, const BoundingBoxBase< Eigen::Matrix< T, 2, 1, Eigen::DontAlign > > &bbox) |
| template<typename T> | |
| bool | liang_barsky_line_clipping (const Eigen::Matrix< T, 2, 1, Eigen::DontAlign > &x0src, const Eigen::Matrix< T, 2, 1, Eigen::DontAlign > &x1src, const BoundingBoxBase< Eigen::Matrix< T, 2, 1, Eigen::DontAlign > > &bbox, Eigen::Matrix< T, 2, 1, Eigen::DontAlign > &x0clip, Eigen::Matrix< T, 2, 1, Eigen::DontAlign > &x1clip) |
| template<typename T> | |
| T | rad2deg (T angle) |
| template<typename T> | |
| constexpr T | deg2rad (const T angle) |
| template<typename T> | |
| T | angle_to_0_2PI (T angle) |
| template<typename T> | |
| void | to_range_pi_pi (T &angle) |
| bool | is_rotation_ninety_degrees (double a) |
| bool | is_rotation_ninety_degrees (const Vec3d &rotation) |
| template<typename KernelWrapper> | |
| static KernelWrapper::FloatType | cubic_interpolate (const Eigen::ArrayBase< typename KernelWrapper::FloatType > &F, const typename KernelWrapper::FloatType pt) |
| template<typename Kernel, typename Derived> | |
| static float | bicubic_interpolate (const Eigen::MatrixBase< Derived > &F, const Eigen::Matrix< typename Kernel::FloatType, 2, 1, Eigen::DontAlign > &pt) |
| Point | circle_center_taubin_newton (const Points::const_iterator &input_start, const Points::const_iterator &input_end, size_t cycles=20) |
| Find the center of the circle corresponding to the vector of Points as an arc. | |
| Vec2d | circle_center_taubin_newton (const Vec2ds::const_iterator &input_begin, const Vec2ds::const_iterator &input_end, size_t cycles) |
| Adapted from work in "Circular and Linear Regression: Fitting circles and lines by least squares", pg 126 Returns a point corresponding to the center of a circle for which all of the points from input_begin to input_end lie on. | |
| Circled | circle_taubin_newton (const Vec2ds &input, size_t cycles) |
| Circled | circle_ransac (const Vec2ds &input, size_t iterations, double *min_error) |
| template<typename Vector> | |
| Vector | circle_center (const Vector &a, const Vector &bsrc, const Vector &csrc, typename Vector::Scalar epsilon) |
| Point | circle_center_taubin_newton (const Points &input, size_t cycles=20) |
| Vec2d | circle_center_taubin_newton (const Vec2ds &input, size_t cycles=20) |
| template<typename Vector, typename Points> | |
| CircleSq< Vector > | smallest_enclosing_circle2_welzl (const Points &points, const typename Vector::Scalar epsilon) |
| template<typename Vector, typename Points> | |
| Circle< Vector > | smallest_enclosing_circle_welzl (const Points &points, const typename Vector::Scalar epsilon) |
| Circled | smallest_enclosing_circle_welzl (const Points &points) |
| template<typename T> | |
| int | ray_circle_intersections_r2_lv2_c (T r2, T a, T b, T lv2, T c, std::pair< Eigen::Matrix< T, 2, 1, Eigen::DontAlign >, Eigen::Matrix< T, 2, 1, Eigen::DontAlign > > &out) |
| template<typename T> | |
| int | ray_circle_intersections (T r, T a, T b, T c, std::pair< Eigen::Matrix< T, 2, 1, Eigen::DontAlign >, Eigen::Matrix< T, 2, 1, Eigen::DontAlign > > &out) |
| Polygon | convex_hull (Points pts) |
| Pointf3s | convex_hull (Pointf3s points) |
| Polygon | convex_hull (const Polygons &polygons) |
| Polygon | convex_hull (const ExPolygons &expolygons) |
| Polygon | convex_hulll (const Polylines &polylines) |
| bool | convex_polygons_intersect (const Polygon &A, const Polygon &B) |
| std::pair< std::vector< Vec2d >, std::vector< Vec2d > > | decompose_convex_polygon_top_bottom (const std::vector< Vec2d > &src) |
| bool | inside_convex_polygon (const std::pair< std::vector< Vec2d >, std::vector< Vec2d > > &top_bottom_decomposition, const Vec2d &pt) |
| template<int Dimension, typename NumberType> | |
| PolynomialCurve< Dimension, NumberType > | fit_polynomial (const std::vector< Vec< Dimension, NumberType > > &observations, const std::vector< NumberType > &observation_points, const std::vector< NumberType > &weights, size_t order) |
| template<typename Kernel, int Dimension, typename NumberType> | |
| PiecewiseFittedCurve< Dimension, NumberType, Kernel > | fit_curve (const std::vector< Vec< Dimension, NumberType > > &observations, const std::vector< NumberType > &observation_points, const std::vector< NumberType > &weights, size_t segments_count, size_t endpoints_level_of_freedom) |
| template<int Dimension, typename NumberType> | |
| PiecewiseFittedCurve< Dimension, NumberType, LinearKernel< NumberType > > | fit_linear_spline (const std::vector< Vec< Dimension, NumberType > > &observations, std::vector< NumberType > observation_points, std::vector< NumberType > weights, size_t segments_count, size_t endpoints_level_of_freedom=0) |
| template<int Dimension, typename NumberType> | |
| PiecewiseFittedCurve< Dimension, NumberType, CubicBSplineKernel< NumberType > > | fit_cubic_bspline (const std::vector< Vec< Dimension, NumberType > > &observations, std::vector< NumberType > observation_points, std::vector< NumberType > weights, size_t segments_count, size_t endpoints_level_of_freedom=0) |
| template<int Dimension, typename NumberType> | |
| PiecewiseFittedCurve< Dimension, NumberType, CubicCatmulRomKernel< NumberType > > | fit_catmul_rom_spline (const std::vector< Vec< Dimension, NumberType > > &observations, std::vector< NumberType > observation_points, std::vector< NumberType > weights, size_t segments_count, size_t endpoints_level_of_freedom=0) |
| template<typename VD, typename SEGMENTS> | |
| const VD::point_type | retrieve_cell_point (const typename VD::cell_type &cell, const SEGMENTS &segments) |
| template<typename VD, typename SEGMENTS> | |
| std::pair< typename VD::coord_type, typename VD::coord_type > | measure_edge_thickness (const VD &vd, const typename VD::edge_type &edge, const SEGMENTS &segments) |
| VD::vertex_type::color_type | encode_input_segment_endpoint (const VD::cell_type::source_index_type cell_source_index, const boost::polygon::direction_1d dir) |
| template<typename SegmentIterator> | |
| boost::polygon::enable_if< typenameboost::polygon::gtl_if< typenameboost::polygon::is_segment_concept< typenameboost::polygon::geometry_concept< typenamestd::iterator_traits< SegmentIterator >::value_type >::type >::type >::type, typenameboost::polygon::segment_point_type< typenamestd::iterator_traits< SegmentIterator >::value_type >::type >::type | decode_input_segment_endpoint (const VD::vertex_type::color_type color, const SegmentIterator segment_begin, const SegmentIterator segment_end) |
| CGAL_Point | to_cgal_point (const VD::vertex_type *pt) |
| CGAL_Point | to_cgal_point (const Point &pt) |
| CGAL_Point | to_cgal_point (const Vec2d &pt) |
| Linef | make_linef (const VD::edge_type &edge) |
| bool | is_equal (const VD::vertex_type &vertex_first, const VD::vertex_type &vertex_second) |
| template<typename SegmentIterator> | |
| static boost::polygon::enable_if< typenameboost::polygon::gtl_if< typenameboost::polygon::is_segment_concept< typenameboost::polygon::geometry_concept< typenamestd::iterator_traits< SegmentIterator >::value_type >::type >::type >::type, ParabolicSegment >::type | get_parabolic_segment (const VD::edge_type &edge, const SegmentIterator segment_begin, const SegmentIterator segment_end) |
| template<typename SegmentIterator> | |
| static boost::polygon::enable_if< typenameboost::polygon::gtl_if< typenameboost::polygon::is_segment_concept< typenameboost::polygon::geometry_concept< typenamestd::iterator_traits< SegmentIterator >::value_type >::type >::type >::type, CGAL::Orientation >::type | orientation_of_two_edges (const VD::edge_type &edge_a, const VD::edge_type &edge_b, const SegmentIterator segment_begin, const SegmentIterator segment_end) |
| template<typename SegmentIterator> | |
| static boost::polygon::enable_if< typenameboost::polygon::gtl_if< typenameboost::polygon::is_segment_concept< typenameboost::polygon::geometry_concept< typenamestd::iterator_traits< SegmentIterator >::value_type >::type >::type >::type, bool >::type | check_if_three_edges_are_ccw (const VD::edge_type &edge_first, const VD::edge_type &edge_second, const VD::edge_type &edge_third, const SegmentIterator segment_begin, const SegmentIterator segment_end) |
| class Slic3r::Geometry::ArrangeItem |
| struct Slic3r::Geometry::ParabolicSegment |
| Class Members | ||
|---|---|---|
| const Line | directrix | |
| const Point | focus | |
| const Orientation | is_focus_on_left | |
| const Linef | segment | |
| using Slic3r::Geometry::CGAL_Point = impl::K::Point_2 |
| using Slic3r::Geometry::Circled = Circle<Vec2d> |
| using Slic3r::Geometry::Circlef = Circle<Vec2f> |
| using Slic3r::Geometry::ColoredLinesConstIt = ColoredLines::const_iterator |
| using Slic3r::Geometry::ColoredLinesIt = ColoredLines::iterator |
| using Slic3r::Geometry::CubicBSplineKernel = CubicKernelWrapper<BicubicInternal::CubicBSplineKernel<NumberType>> |
| using Slic3r::Geometry::CubicCatmulRomKernel = CubicKernelWrapper<BicubicInternal::CubicCatmulRomKernel<NumberType>> |
| using Slic3r::Geometry::LinearKernel = CubicKernelWrapper<BicubicInternal::LinearKernel<NumberType>> |
| using Slic3r::Geometry::LinesIt = Lines::iterator |
| using Slic3r::Geometry::ParabolicTangentToParabolicTangentOrientation = impl::ParabolicTangentToParabolicTangentOrientationPredicateFiltered |
| using Slic3r::Geometry::ParabolicTangentToSegmentOrientation = impl::ParabolicTangentToSegmentOrientationPredicateFiltered |
| typedef std::vector< Arachne::PolygonsSegmentIndex >::const_iterator Slic3r::Geometry::PolygonsSegmentIndexConstIt = std::vector<Arachne::PolygonsSegmentIndex>::const_iterator |
| using Slic3r::Geometry::VD = VoronoiDiagram |
| Enumerator | |
|---|---|
| ORIENTATION_CCW | |
| ORIENTATION_CW | |
| ORIENTATION_COLINEAR | |
| T Slic3r::Geometry::angle_to_0_2PI | ( | T | angle | ) |
References Slic3r::angle(), and PI.
Referenced by Slic3r::Geometry::Transformation::set_rotation().
| bool Slic3r::Geometry::arrange | ( | size_t | total_parts, |
| const Vec2d & | part_size, | ||
| coordf_t | dist, | ||
| const BoundingBoxf * | bb, | ||
| Pointfs & | positions ) |
References Slic3r::area(), Slic3r::BoundingBoxBase< PointType, APointsType >::defined, Slic3r::Geometry::ArrangeItem::dist, dist(), Slic3r::Geometry::ArrangeItem::index_x, Slic3r::Geometry::ArrangeItem::index_y, Slic3r::Geometry::ArrangeItemIndex::item, linint(), Slic3r::BoundingBoxBase< PointType, APointsType >::max, Slic3r::BoundingBoxBase< PointType, APointsType >::merge(), Slic3r::BoundingBoxBase< PointType, APointsType >::min, Slic3r::Geometry::ArrangeItem::pos, Slic3r::BoundingBoxBase< PointType, APointsType >::size(), and Slic3r::BoundingBoxBase< PointType, APointsType >::translate().
Referenced by Slic3r::arrangement::arrange().
| Transform3d Slic3r::Geometry::assemble_transform | ( | const Transform3d & | translation, |
| const Transform3d & | rotation, | ||
| const Transform3d & | scale, | ||
| const Transform3d & | mirror ) |
References assemble_transform(), scale(), and Slic3r::transform().
| Transform3d Slic3r::Geometry::assemble_transform | ( | const Vec3d & | translation, |
| const Vec3d & | rotation, | ||
| const Vec3d & | scale, | ||
| const Vec3d & | mirror ) |
References assemble_transform(), scale(), and Slic3r::transform().
| void Slic3r::Geometry::assemble_transform | ( | Transform3d & | transform, |
| const Transform3d & | translation, | ||
| const Transform3d & | rotation, | ||
| const Transform3d & | scale, | ||
| const Transform3d & | mirror ) |
| void Slic3r::Geometry::assemble_transform | ( | Transform3d & | transform, |
| const Vec3d & | translation, | ||
| const Vec3d & | rotation, | ||
| const Vec3d & | scale, | ||
| const Vec3d & | mirror ) |
References scale(), and Slic3r::transform().
Referenced by Slic3r::GUI::GLCanvas3D::_render_sla_slices(), assemble_transform(), assemble_transform(), Slic3r::compacted_tower_print_instance_hull(), Slic3r::GUI::GLCanvas3D::get_empty_cells(), Slic3r::sla::RotfinderBoilerplate< MAX_ITER >::get_mesh_to_rotate(), Slic3r::layered_print_cleareance_valid(), Slic3r::GLVolume::SinkingContours::render(), Slic3r::GUI::Bed3D::Axes::render(), Slic3r::GUI::GLGizmoBase::Grabber::render(), Slic3r::GUI::GLGizmoTextureDisplacement::render_adjust_texture_gizmo(), Slic3r::GUI::GLGizmoPainterBase::render_cursor_height_range(), Slic3r::GUI::GLGizmoPainterBase::render_cursor_sphere(), Slic3r::GUI::Bed3D::render_model(), Slic3r::GUI::Selection::render_sidebar_hints(), Slic3r::GUI::Selection::render_sidebar_position_hints(), Slic3r::GUI::Selection::render_sidebar_rotation_hints(), Slic3r::GUI::Selection::render_sidebar_scale_hints(), Slic3r::GUI::Selection::scale_and_translate(), Slic3r::Print::sequential_print_clearance_valid(), and Slic3r::GUI::GLCanvas3D::update_sequential_clearance().
|
static |
References Slic3r::Geometry::BicubicInternal::clamp(), Slic3r::F, and Slic3r::f().
|
static |
References is_equal(), and orientation_of_two_edges().
Referenced by Slic3r::Geometry::VoronoiUtilsCgal::is_voronoi_diagram_planar_angle().
| Vector Slic3r::Geometry::circle_center | ( | const Vector & | a, |
| const Vector & | bsrc, | ||
| const Vector & | csrc, | ||
| typename Vector::Scalar | epsilon ) |
Referenced by Slic3r::Geometry::CircleSq< Vector >::CircleSq(), and circle_ransac().
|
inline |
References circle_center_taubin_newton().
| Point Slic3r::Geometry::circle_center_taubin_newton | ( | const Points::const_iterator & | input_begin, |
| const Points::const_iterator & | input_end, | ||
| size_t | cycles ) |
Find the center of the circle corresponding to the vector of Points as an arc.
References Slic3r::center(), circle_center_taubin_newton(), Slic3r::Point::new_scale(), and Slic3r::unscale().
Referenced by circle_center_taubin_newton(), circle_center_taubin_newton(), circle_center_taubin_newton(), and circle_taubin_newton().
|
inline |
| Vec2d Slic3r::Geometry::circle_center_taubin_newton | ( | const Vec2ds::const_iterator & | input_begin, |
| const Vec2ds::const_iterator & | input_end, | ||
| size_t | cycles ) |
Adapted from work in "Circular and Linear Regression: Fitting circles and lines by least squares", pg 126 Returns a point corresponding to the center of a circle for which all of the points from input_begin to input_end lie on.
Find the center of the circle corresponding to the vector of Pointfs as an arc.
References Slic3r::center().
| Circled Slic3r::Geometry::circle_ransac | ( | const Vec2ds & | input, |
| size_t | iterations, | ||
| double * | min_error ) |
References Slic3r::Geometry::Circle< Vector >::center, circle_center(), EPSILON, Slic3r::Geometry::Circle< Vec2d >::make_invalid(), and Slic3r::Geometry::Circle< Vector >::radius.
Referenced by Slic3r::BuildVolume::BuildVolume(), and Slic3r::Measure::get_center_and_radius().
References Slic3r::Geometry::Circle< Vector >::center, circle_center_taubin_newton(), Slic3r::Geometry::Circle< Vec2d >::make_invalid(), and Slic3r::Geometry::Circle< Vector >::radius.
| template bool Slic3r::Geometry::contains | ( | const ExPolygons & | vector, |
| const Point & | point ) |
| bool Slic3r::Geometry::contains | ( | const std::vector< T > & | vector, |
| const Point & | point ) |
Referenced by Slic3r::FillSpiralInset::_fill_surface_single(), Slic3r::GUI::HMSQuery::_is_internal_error(), Slic3r::GUI::HMSQuery::_query_error_msg(), Slic3r::active_capability_config(), Slic3r::anonymous_namespace{PythonInterpreter.cpp}::add_sys_path_entry(), Slic3r::GUI::MenuFactory::append_menu_items_flush_options(), Slic3r::check_filaments(), Slic3r::GUI::GUI_App::check_new_version(), Slic3r::ExPolygon::contains(), Slic3r::Polygon::contains(), Slic3r::TreeSupport3D::convert_lines_to_internal(), Slic3r::TreeSupport3D::evaluate_point_for_next_layer_function(), Slic3r::SnapmakerPrinterAgent::fetch_filament_info(), Slic3r::IslandLocator::find(), Slic3r::find_containing_expolygon_index(), Slic3r::find_nearby_points(), Slic3r::TreeSupport3D::get_avoidance_status(), Slic3r::GUI::get_error_message(), Slic3r::DevPrinterConfigUtil::get_fan_mode_text(), Slic3r::handle_extrusion_collection(), Slic3r::MoonrakerPrinterAgent::handle_request(), Slic3r::FillLightning::inside(), Slic3r::ClipperUtils::interior_point(), Slic3r::is_inside_ex(), Slic3r::load_assemble_plate_list(), Slic3r::GUI::GuideFrame::LoadProfileFamily(), Slic3r::TreeSupport3D::move_inside_if_outside(), Slic3r::one_of(), Slic3r::one_of(), Slic3r::GUI::GuideFrame::OnScriptMessage(), Slic3r::GUI::ZUserLogin::OnScriptMessage(), Slic3r::BBLSubTask::parse_content_json(), Slic3r::MachineObject::parse_json(), Slic3r::UserManager::parse_json(), Slic3r::DevPrintOptionsParser::ParseDetectionV1_0(), Slic3r::DevFilaSystemParser::ParseV1_0(), Slic3r::anonymous_namespace{ClipperUtils.cpp}::path_encloses(), Slic3r::WipeTowerIntegration::travel_to_tower_gap(), and Slic3r::MachineObject::update_slice_info().
|
static |
References extract_scale().
Referenced by Slic3r::Geometry::Transformation::has_skew().
| Polygon Slic3r::Geometry::convex_hull | ( | const ExPolygons & | expolygons | ) |
References convex_hull().
References convex_hull().
References Slic3r::Point::new_scale(), orient(), and ORIENTATION_CCW.
References orient(), ORIENTATION_CCW, and Slic3r::MultiPoint::points.
Referenced by Slic3r::BuildVolume::BuildVolume(), Slic3r::ModelVolume::ModelVolume(), Slic3r::Print::_make_skirt(), Slic3r::bed_exclusion_arrange_polygon(), Slic3r::ModelVolume::calculate_convex_hull_2d(), Slic3r::compacted_tower_print_instance_hull(), Slic3r::compacted_wipe_tower_zone(), Slic3r::ExPolygonCollection::convex_hull(), convex_hull(), convex_hull(), Slic3r::TriangleMesh::convex_hull(), Slic3r::ModelObject::convex_hull_2d(), convex_hulll(), Slic3r::GUI::CameraUtils::create_hull2d(), Slic3r::Print::finalize_first_layer_convex_hull(), Slic3r::generate_extra_perimeters_over_overhangs(), Slic3r::get_arrange_poly(), Slic3r::GUI::anonymous_namespace{GLGizmoAlignment.cpp}::instance_box_in_frame(), Slic3r::its_convex_hull_2d_above(), Slic3r::lay_on_face_planes(), Slic3r::GLVolumeCollection::load_object_auxiliary(), Slic3r::nearest_clear_wipe_tower_anchor(), Slic3r::Print::sequential_print_clearance_valid(), Slic3r::solid_bodies(), Slic3r::ModelVolume::transform_this_mesh(), Slic3r::ModelVolume::transform_this_mesh(), Slic3r::sla::SupportPointGenerator::uniformly_cover(), Slic3r::GUI::GLCanvas3D::update_sequential_clearance(), and Slic3r::Print::validate_compacted_wipe_tower_clearance().
References convex_hull().
References Slic3r::P, and Slic3r::MultiPoint::size().
|
static |
References Slic3r::Geometry::BicubicInternal::clamp(), Slic3r::F, and Slic3r::f().
|
inline |
Referenced by Slic3r::Geometry::VoronoiDiagram::try_to_repair_degenerated_voronoi_diagram_by_rotation().
| std::pair< std::vector< Vec2d >, std::vector< Vec2d > > Slic3r::Geometry::decompose_convex_polygon_top_bottom | ( | const std::vector< Vec2d > & | src | ) |
Referenced by Slic3r::BuildVolume::BuildVolume().
|
constexpr |
References Slic3r::angle(), and PI.
Referenced by Slic3r::SupportGridParams::SupportGridParams(), Slic3r::SupportParameters::SupportParameters(), Slic3r::Print::_make_wipe_tower(), Slic3r::GUI::belt_calib_rotation_params(), Slic3r::TriangleSelector::bucket_fill_select_triangles(), Slic3r::build_plate_tilt_slope(), Slic3r::GUI::build_plate_tilt_up_direction(), Slic3r::BeltTransformPipeline::build_rotation_matrix(), Slic3r::calculate_infill_rotation_angle(), Slic3r::anonymous_namespace{BeltTransform.cpp}::compute_belt_height_and_floor_impl(), Slic3r::detect_overhangs(), Slic3r::TreeSupport::detect_overhangs(), Slic3r::GUI::ensure_belt_purge_tower(), Slic3r::GUI::PartPlate::estimate_wipe_tower_polygon(), Slic3r::estimated_wipe_tower_footprint(), Slic3r::FillLateralLattice::fill_surface(), Slic3r::Print::first_layer_wipe_tower_corners(), Slic3r::BeltTransformPipeline::floor_shear(), Slic3r::Arachne::WallToolPaths::generate(), Slic3r::InterlockingGenerator::generate_interlocking_structure(), Slic3r::WipeTower2::generate_support_cone_wall(), Slic3r::TreeSupport::generate_toolpaths(), Slic3r::GLVolumeCollection::get_selection_support_normal_z(), Slic3r::WipeTower2::get_wipe_tower_cone_base(), Slic3r::get_wipe_tower_extrusions_extents(), Slic3r::FakeWipeTower::getFakeExtrusionPathsFromWipeTower2(), Slic3r::group_fills(), Slic3r::GUI::PartPlate::imex_wipe_tower_hull(), Slic3r::GUI::init_arrange_params(), Slic3r::MachineFrameTransform::init_from_config(), Slic3r::layered_print_cleareance_valid(), Slic3r::GUI::Plater::priv::load_files(), Slic3r::Layer::make_ironing(), anonymous_namespace{OrcaSlicer_profile_validator.cpp}::place_wipe_tower(), Slic3r::LayerRegion::process_external_surfaces(), Slic3r::PerimeterGenerator::process_no_bridge(), Slic3r::anonymous_namespace{PrintConfig.cpp}::project_bed_material_keepouts(), Slic3r::GUI::GLGizmoCut3D::render_angle_input(), Slic3r::GUI::GLGizmoTextureDisplacement::render_painted_colors(), Slic3r::GUI::GLGizmoPainterBase::render_triangles(), Slic3r::GUI::Bed_2D::repaint(), Slic3r::GUI::Camera::rotate_on_sphere(), Slic3r::GUI::Camera::rotate_on_sphere_with_target(), Slic3r::CLI::run(), Slic3r::TriangleSelector::seed_fill_select_triangles(), Slic3r::TriangleSelector::select_patch(), Slic3r::GUI::Camera::set_default_orientation(), Slic3r::GLVolumeCollection::set_default_slope_normal_z(), Slic3r::GUI::GLCanvas3D::Slope::set_normal_angle(), Slic3r::GUI::GLGizmoMeasure::set_to_around_center_of_faces(), Slic3r::spreadDotsArea(), Slic3r::WipeTower2::toolchange_Change(), and Slic3r::Print::validate_compacted_wipe_tower_clearance().
| bool Slic3r::Geometry::directions_parallel | ( | double | angle1, |
| double | angle2, | ||
| double | max_diff ) |
References Slic3r::diff(), EPSILON, and PI.
Referenced by Slic3r::BridgeDetector::bridge_direction_candidates(), Slic3r::Line::parallel_to(), and Slic3r::BridgeDetector::unsupported_edges().
| bool Slic3r::Geometry::directions_perpendicular | ( | double | angle1, |
| double | angle2, | ||
| double | max_diff ) |
References Slic3r::diff(), EPSILON, and PI.
Referenced by Slic3r::Line::perpendicular_to().
| T Slic3r::Geometry::dist | ( | const boost::polygon::point_data< T > & | p1, |
| const boost::polygon::point_data< T > & | p2 ) |
Referenced by Slic3r::FanMover::_process_gcode_line(), Slic3r::GUI::anonymous_namespace{McpControl.cpp}::action_chamfer(), Slic3r::sla::ConcaveHull::add_connector_rectangles(), arrange(), Slic3r::tex2color::color_utils::calc_nearest_color_id(), Slic3r::chain_points_with_postprocessing(), Slic3r::chain_segments_greedy_constrained_reversals2_(), Slic3r::clip_extrusion(), Slic3r::sla::cluster(), Slic3r::sla::cluster(), Slic3r::sla::SupportTreeBuildsteps::connect_to_model_body(), Slic3r::contour_distance(), Slic3r::contour_distance2(), Slic3r::contour_extrusion_path(), Slic3r::cut_mesh_at_steps(), Slic3r::KDTreeIndirect< 3, float, SeamPlacerImpl::SeamCandidateCoordinateFunctor >::descent_mask(), Slic3r::AABBTreeLines::LinesDistancer< Linef3 >::distance_from_lines(), Slic3r::sla::anonymous_namespace{Clustering.cpp}::distance_queryfn(), Slic3r::GUI::DesignSketchTool::drag_rib_handle(), Slic3r::Model::duplicate_objects_grid(), Slic3r::GCode::extrude_loop(), Slic3r::GCode::extrude_path(), Slic3r::find_closest_points(), Slic3r::sla::anonymous_namespace{Rotfinder.cpp}::find_min_score(), Slic3r::find_nearby_points(), Slic3r::follow_slope_down(), Slic3r::WipeTower2::generate_support_cone_wall(), Slic3r::Measure::MeasuringImpl::get_feature(), Slic3r::sla::DrainHole::get_intersections(), Slic3r::Measure::get_measurement(), Slic3r::get_real_skirt_dist(), Slic3r::arrangement::get_shrink_bedpts(), Slic3r::Arachne::SkeletalTrapezoidation::getNearestBeading(), Slic3r::Arachne::SkeletalTrapezoidation::getOrCreateBeading(), Slic3r::MultiPoint::has_boundary_point(), Slic3r::improve_chain_by_local_search(), Slic3r::improve_cycle_by_or_opt(), Slic3r::Arachne::SkeletalTrapezoidationGraph::insertRib(), Slic3r::TriangleSelector::Capsule2D::is_edge_inside_cursor(), Slic3r::sla::DrainHole::is_inside(), Slic3r::ConflictChecker::line_intersect(), Slic3r::Arachne::SkeletalTrapezoidationGraph::makeRib(), Slic3r::GUI::GLGizmoTextureDisplacement::mark_seam_path(), measure_edge_thickness(), Slic3r::FillAdaptive::multiline_paths(), Slic3r::SpiralVaseHelpers::nearest_point_on_line(), Slic3r::SpiralVaseHelpers::nearest_point_on_lines(), Slic3r::arrangement::AutoArranger< TBin >::objfunc(), Slic3r::Voronoi::offset(), Slic3r::GUI::UVEditorCanvas::on_mouse(), Slic3r::anonymous_namespace{TextureDisplacement.cpp}::patch_boundary_distance(), Slic3r::TimelapsePosPicker::pick_nearest_object_center(), Slic3r::pick_pos_internal(), Slic3r::SeamPlacer::place_seam(), Slic3r::TreeSupport::plan_layer_heights(), Slic3r::SketchConstraints::point_line_distance(), Slic3r::TreeSupport3D::polyline_sample_next_point_at_distance(), Slic3r::SpiralVase::process_layer(), Slic3r::projection_onto(), Slic3r::PrintObjectSupportMaterial::raft_and_intermediate_support_layers(), Slic3r::anonymous_namespace{OrcaCloudServiceAgent.cpp}::random_bytes(), Slic3r::Feature::FuzzySkin::random_value(), Slic3r::GUI::GLGizmoTextureDisplacement::rank_mixes(), Slic3r::GUI::TexturePreviewCanvas::render(), Slic3r::resample_polygon(), Slic3r::anonymous_namespace{TextureDisplacement.cpp}::scan_steps(), Slic3r::separated_body_at(), Slic3r::GUI::GLGizmoMeasure::set_parallel_distance(), Slic3r::GUI::CommonGizmosDataObjects::ObjectClipper::set_position_by_ratio(), Slic3r::Voronoi::signed_vertex_distances(), Slic3r::anonymous_namespace{TextureDisplacement.cpp}::simplify_polyline(), Slic3r::solve_system(), Slic3r::sort_extra_perimeters(), Slic3r::MinCostMaxFlow::spfa(), Slic3r::AABBMesh::AABBImpl::squared_distance(), Slic3r::sla::IndexedMesh::AABBImpl::squared_distance(), Slic3r::Arachne::PolylineStitcher< Paths, Path, Junction >::stitch(), Slic3r::GeometryEngine::surface_deviation(), Slic3r::thick_lines_to_geometry(), Slic3r::WipeTower2::toolchange_Unload(), Slic3r::WipeTower::toolchange_Unload(), Slic3r::tsp_exact_cycle(), Slic3r::GUI::GLGizmoCut3D::update_clipper(), Slic3r::GUI::DesignCanvas::view_normal_to_sketch(), and Slic3r::visit_nearby_points().
|
inline |
Referenced by Slic3r::Geometry::VoronoiDiagram::try_to_repair_degenerated_voronoi_diagram_by_rotation().
| Vec3d Slic3r::Geometry::extract_euler_angles | ( | const Eigen::Matrix< double, 3, 3, Eigen::DontAlign > & | rotation_matrix | ) |
Referenced by extract_euler_angles(), Slic3r::Geometry::Transformation::get_rotation(), Slic3r::ModelVolume::rotate(), Slic3r::ModelInstance::rotate_assemble(), Slic3r::Geometry::Transformation::set_rotation(), Slic3r::GUI::GLGizmoMeasure::set_to_parallel(), and Slic3r::Geometry::Transformation::volume_to_bed_transformation().
| Vec3d Slic3r::Geometry::extract_euler_angles | ( | const Transform3d & | transform | ) |
References extract_euler_angles(), and Slic3r::transform().
|
static |
References extract_rotation_scale().
Referenced by Slic3r::Geometry::Transformation::get_rotation(), Slic3r::Geometry::Transformation::get_rotation_matrix(), and Slic3r::Geometry::Transformation::set_scaling_factor().
|
static |
References EPSILON, and scale().
Referenced by extract_rotation_matrix(), extract_scale(), Slic3r::Geometry::Transformation::set_mirror(), Slic3r::Geometry::Transformation::set_mirror(), Slic3r::Geometry::Transformation::set_rotation(), and Slic3r::Geometry::Transformation::set_scaling_factor().
|
static |
References extract_rotation_scale().
Referenced by contains_skew(), Slic3r::Geometry::Transformation::get_mirror(), Slic3r::Geometry::Transformation::get_mirror_matrix(), Slic3r::Geometry::Transformation::get_scaling_factor(), Slic3r::Geometry::Transformation::get_scaling_factor_matrix(), and Slic3r::Geometry::Transformation::set_rotation().
| PiecewiseFittedCurve< Dimension, NumberType, CubicCatmulRomKernel< NumberType > > Slic3r::Geometry::fit_catmul_rom_spline | ( | const std::vector< Vec< Dimension, NumberType > > & | observations, |
| std::vector< NumberType > | observation_points, | ||
| std::vector< NumberType > | weights, | ||
| size_t | segments_count, | ||
| size_t | endpoints_level_of_freedom = 0 ) |
References fit_curve().
| PiecewiseFittedCurve< Dimension, NumberType, CubicBSplineKernel< NumberType > > Slic3r::Geometry::fit_cubic_bspline | ( | const std::vector< Vec< Dimension, NumberType > > & | observations, |
| std::vector< NumberType > | observation_points, | ||
| std::vector< NumberType > | weights, | ||
| size_t | segments_count, | ||
| size_t | endpoints_level_of_freedom = 0 ) |
References fit_curve().
Referenced by Slic3r::SeamPlacer::align_seam_points().
| PiecewiseFittedCurve< Dimension, NumberType, Kernel > Slic3r::Geometry::fit_curve | ( | const std::vector< Vec< Dimension, NumberType > > & | observations, |
| const std::vector< NumberType > & | observation_points, | ||
| const std::vector< NumberType > & | weights, | ||
| size_t | segments_count, | ||
| size_t | endpoints_level_of_freedom ) |
References Slic3r::Geometry::PiecewiseFittedCurve< Dimension, NumberType, KernelType >::coefficients, Slic3r::Geometry::PiecewiseFittedCurve< Dimension, NumberType, KernelType >::endpoints_level_of_freedom, Slic3r::Geometry::PiecewiseFittedCurve< Dimension, NumberType, KernelType >::segment_size, and Slic3r::Geometry::PiecewiseFittedCurve< Dimension, NumberType, KernelType >::start.
Referenced by fit_catmul_rom_spline(), fit_cubic_bspline(), and fit_linear_spline().
| PiecewiseFittedCurve< Dimension, NumberType, LinearKernel< NumberType > > Slic3r::Geometry::fit_linear_spline | ( | const std::vector< Vec< Dimension, NumberType > > & | observations, |
| std::vector< NumberType > | observation_points, | ||
| std::vector< NumberType > | weights, | ||
| size_t | segments_count, | ||
| size_t | endpoints_level_of_freedom = 0 ) |
References fit_curve().
| PolynomialCurve< Dimension, NumberType > Slic3r::Geometry::fit_polynomial | ( | const std::vector< Vec< Dimension, NumberType > > & | observations, |
| const std::vector< NumberType > & | observation_points, | ||
| const std::vector< NumberType > & | weights, | ||
| size_t | order ) |
References Slic3r::Line::a, Slic3r::Line::b, and foot_pt().
|
inline |
References Slic3r::l2().
Referenced by Slic3r::Voronoi::detail::dist_to_site(), Slic3r::Voronoi::edge_offset_contour_intersections(), Slic3r::foot_pt(), Slic3r::foot_pt(), foot_pt(), Slic3r::ExtrusionLoop::get_closest_path_and_point(), Slic3r::Voronoi::detail::line_point_equal_distance_points(), Slic3r::Voronoi::detail::point_segment_dr_dl_thresholds(), Slic3r::Voronoi::detail::point_segment_skeleton_thresholds(), Slic3r::TreeSupport3D::polyline_sample_next_point_at_distance(), ray_point_distance(), ray_point_distance(), ray_point_distance_squared(), and ray_point_distance_squared().
| Transformation Slic3r::Geometry::generate_transform | ( | const Vec3d & | x_dir, |
| const Vec3d & | y_dir, | ||
| const Vec3d & | z_dir, | ||
| const Vec3d & | origin ) |
References Slic3r::Geometry::Transformation::set_offset().
|
inlinestatic |
References Slic3r::Geometry::VoronoiUtils::get_source_point(), Slic3r::Geometry::VoronoiUtils::get_source_segment(), make_linef(), and to_cgal_point().
Referenced by orientation_of_two_edges().
| bool Slic3r::Geometry::inside_convex_polygon | ( | const std::pair< std::vector< Vec2d >, std::vector< Vec2d > > & | top_bottom_decomposition, |
| const Vec2d & | pt ) |
References Slic3r::cross2().
Referenced by Slic3r::BuildVolume::object_state().
|
inlinestatic |
References orient(), ORIENTATION_CCW, and ORIENTATION_COLINEAR.
Referenced by Slic3r::ExPolygonWithOffset::ExPolygonWithOffset(), Slic3r::GCodeG2G3Formatter::GCodeG2G3Formatter(), Slic3r::Geometry::ArcWelder::arc_center(), Slic3r::ArcSegment::calc_arc_length(), Slic3r::ArcSegment::calc_arc_radian(), Slic3r::Circle::calc_tangential_vector(), Slic3r::GCodeWriter::extrude_arc_as_polyline(), Slic3r::GCodeWriter::extrude_arc_to_xy(), Slic3r::GCodeWriter::extrude_arc_to_xy(), Slic3r::GCode::extrude_loop(), Slic3r::CoolingBuffer::parse_layer_gcode(), Slic3r::rounding_polygon(), Slic3r::WipeTower::rounding_polygon(), Slic3r::rounding_rectangle(), Slic3r::wipe_offset_direction(), and Slic3r::wipe_on_loops_destination().
|
inline |
Referenced by check_if_three_edges_are_ccw(), Slic3r::cut_mesh(), Slic3r::is_equal(), orientation_of_two_edges(), Slic3r::slice_facet_for_cut_mesh(), and Slic3r::triangulate_slice().
| bool Slic3r::Geometry::is_point_inside_polygon_corner | ( | const Point & | a, |
| const Point & | b, | ||
| const Point & | c, | ||
| const Point & | query_point ) |
Checks if a given point is inside a corner of a polygon.
The corner of a polygon is defined by three points A, B, C in counterclockwise order.
Adapted from CuraEngine LinearAlg2D::isInsideCorner by Tim Kuipers @BagelOrb and @Ghostkeeper.
| a | The first point of the corner. |
| b | The second point of the corner (the common vertex of the two edges forming the corner). |
| c | The third point of the corner. |
| query_point | The point to be checked if is inside the corner. |
References Slic3r::cast(), and Slic3r::perp().
Referenced by Slic3r::Geometry::VoronoiUtils::compute_point_cell_range().
|
inline |
References is_rotation_ninety_degrees().
|
inline |
References PI.
Referenced by Slic3r::ModelObject::bake_xy_rotation_into_meshes(), is_rotation_ninety_degrees(), and Slic3r::Geometry::Transformation::volume_to_bed_transformation().
| bool Slic3r::Geometry::liang_barsky_line_clipping | ( | const Eigen::Matrix< T, 2, 1, Eigen::DontAlign > & | x0src, |
| const Eigen::Matrix< T, 2, 1, Eigen::DontAlign > & | x1src, | ||
| const BoundingBoxBase< Eigen::Matrix< T, 2, 1, Eigen::DontAlign > > & | bbox, | ||
| Eigen::Matrix< T, 2, 1, Eigen::DontAlign > & | x0clip, | ||
| Eigen::Matrix< T, 2, 1, Eigen::DontAlign > & | x1clip ) |
References liang_barsky_line_clipping().
|
inline |
References liang_barsky_line_clipping_interval().
Referenced by Slic3r::Line::clip_with_bbox(), liang_barsky_line_clipping(), Slic3r::FillAdaptive::multiline_paths(), and Slic3r::Voronoi::offset().
|
inline |
Referenced by liang_barsky_line_clipping(), and Slic3r::line_rounded_thick_segment_collision().
| double Slic3r::Geometry::linint | ( | double | value, |
| double | oldmin, | ||
| double | oldmax, | ||
| double | newmin, | ||
| double | newmax ) |
Referenced by arrange().
|
inline |
Referenced by get_parabolic_segment().
| Transformation Slic3r::Geometry::mat_around_a_point_rotate | ( | const Transformation & | InMat, |
| const Vec3d & | pt, | ||
| const Vec3d & | axis, | ||
| float | rotate_theta_radian ) |
References Slic3r::Geometry::Transformation::get_matrix(), Slic3r::Geometry::Transformation::get_offset(), and Slic3r::Geometry::Transformation::set_matrix().
Referenced by Slic3r::GUI::GLGizmoMeasure::set_to_around_center_of_faces(), and Slic3r::GUI::GLGizmoMeasure::set_to_reverse_rotation().
|
inline |
References dist(), project_point_to_segment(), and retrieve_cell_point().
|
inlinestatic |
References ORIENTATION_CCW, ORIENTATION_COLINEAR, and ORIENTATION_CW.
Referenced by convex_hull(), convex_hull(), Slic3r::GUI::ObjectGrid::DrawColLabel(), Slic3r::GUI::DesignSketchTool::drop_orientation_constraints(), is_ccw(), Slic3r::GeometryEngine::tessellate(), and Slic3r::SketchEngine::tessellate().
|
inlinestatic |
References Slic3r::Line::a, Slic3r::Linef::a, Slic3r::Line::b, Slic3r::Geometry::ParabolicSegment::directrix, Slic3r::Geometry::ParabolicSegment::focus, get_parabolic_segment(), is_equal(), Slic3r::Geometry::ParabolicSegment::is_focus_on_left, Slic3r::Geometry::ParabolicSegment::segment, and to_cgal_point().
Referenced by check_if_three_edges_are_ccw().
|
inline |
Referenced by measure_edge_thickness().
| T Slic3r::Geometry::rad2deg | ( | T | angle | ) |
References Slic3r::angle(), and PI.
Referenced by Slic3r::GUI::GLGizmoScale3D::calc_ratio(), Slic3r::BridgeDetector::coverage(), Slic3r::BridgeDetector::detect_angle(), Slic3r::GUI::Camera::get_fov(), Slic3r::GUI::GLGizmoCut3D::get_tooltip(), Slic3r::GUI::GLGizmoRotate::get_tooltip(), rad2deg_dir(), Slic3r::GUI::GLGizmoCut3D::render_angle_input(), Slic3r::GUI::GLGizmoMeasure::render_dimensioning(), Slic3r::TriangleMesh::rotate(), Slic3r::GUI::Camera::rotate_on_sphere(), Slic3r::GUI::Camera::rotate_on_sphere_with_target(), Slic3r::GUI::GLGizmoMeasure::show_distance_xyz_ui(), and Slic3r::GUI::Camera::update_zenit().
| double Slic3r::Geometry::rad2deg_dir | ( | double | angle | ) |
| int Slic3r::Geometry::ray_circle_intersections | ( | T | r, |
| T | a, | ||
| T | b, | ||
| T | c, | ||
| std::pair< Eigen::Matrix< T, 2, 1, Eigen::DontAlign >, Eigen::Matrix< T, 2, 1, Eigen::DontAlign > > & | out ) |
References SCALED_EPSILON.
| int Slic3r::Geometry::ray_circle_intersections_r2_lv2_c | ( | T | r2, |
| T | a, | ||
| T | b, | ||
| T | lv2, | ||
| T | c, | ||
| std::pair< Eigen::Matrix< T, 2, 1, Eigen::DontAlign >, Eigen::Matrix< T, 2, 1, Eigen::DontAlign > > & | out ) |
Referenced by Slic3r::line_rounded_thick_segment_collision().
|
inline |
References foot_pt().
Referenced by Slic3r::Voronoi::detail::line_point_equal_distance_points(), and Slic3r::Voronoi::signed_vertex_distances().
|
inline |
|
inline |
Referenced by measure_edge_thickness().
References Slic3r::angle(), and rotation_xyz_diff().
Referenced by Slic3r::PrintObject::PrintObject(), Slic3r::ModelObject::bake_xy_rotation_into_meshes(), and Slic3r::sla_instances().
| void Slic3r::Geometry::rotation_from_two_vectors | ( | Vec3d | from, |
| Vec3d | to, | ||
| Vec3d & | rotation_axis, | ||
| double & | phi, | ||
| Matrix3d * | rotation_matrix ) |
Referenced by Slic3r::orientation::_orient(), Slic3r::orientation::orient(), Slic3r::orientation::orient(), Slic3r::orientation::orient_for_cooling(), and Slic3r::GUI::GLGizmoMeasure::set_to_parallel().
| Transform3d Slic3r::Geometry::rotation_transform | ( | const Vec3d & | rotation | ) |
References rotation_transform(), and Slic3r::transform().
| void Slic3r::Geometry::rotation_transform | ( | Transform3d & | transform, |
| const Vec3d & | rotation ) |
References Slic3r::transform().
Referenced by Slic3r::GUI::GLCanvas3D::_render_3d_navigator(), Slic3r::GUI::GLGizmoCut3D::apply_cut_connectors(), Slic3r::apply_tolerance(), Slic3r::GUI::GLGizmoCut3D::dragging_grabber_rotation(), Slic3r::GUI::GLGizmoCut3D::flip_cut_plane(), Slic3r::GUI::GLGizmoRotate::local_transform(), Slic3r::Cut::perform_with_groove(), Slic3r::GUI::GCodeViewer::SequentialView::Marker::render(), Slic3r::GUI::GLGizmoCut3D::render_connectors(), Slic3r::GUI::GLGizmoCut3D::render_cut_plane_grabbers(), Slic3r::GUI::GLGizmoCut3D::render_rotation_snapping(), Slic3r::reset_instance_transformation(), Slic3r::GUI::Selection::rotate(), rotation_transform(), Slic3r::Geometry::Transformation::set_rotation(), Slic3r::Geometry::Transformation::set_rotation(), and Slic3r::GUI::GLGizmoCut3D::update_raycasters_for_picking_transform().
| Eigen::Quaterniond Slic3r::Geometry::rotation_xyz_diff | ( | const Vec3d & | rot_xyz_from, |
| const Vec3d & | rot_xyz_to ) |
Referenced by rotation_diff_z().
| Transform3d Slic3r::Geometry::scale_transform | ( | const Vec3d & | scale | ) |
References scale(), scale_transform(), and Slic3r::transform().
| Transform3d Slic3r::Geometry::scale_transform | ( | double | scale | ) |
| void Slic3r::Geometry::scale_transform | ( | Transform3d & | transform, |
| const Vec3d & | scale ) |
| void Slic3r::Geometry::scale_transform | ( | Transform3d & | transform, |
| double | scale ) |
References scale(), scale_transform(), and Slic3r::transform().
Referenced by Slic3r::GUI::GLGizmoCut3D::apply_cut_connectors(), Slic3r::Geometry::Transformation::get_matrix_with_applied_shrinkage_compensation(), Slic3r::GUI::GLGizmoCut3D::is_conflict_for_connector(), Slic3r::lay_on_face_planes(), Slic3r::GUI::GLGizmoMeasure::on_render(), Slic3r::GUI::GCodeViewer::SequentialView::Marker::render(), Slic3r::GUI::GLGizmoCut3D::render_connectors(), Slic3r::GUI::GLGizmoPainterBase::render_cursor_circle(), Slic3r::GUI::GLGizmoCut3D::render_cut_plane_grabbers(), Slic3r::GUI::GLGizmoMeasure::render_dimensioning(), Slic3r::GUI::GLGizmoCut3D::render_grabber_connection(), Slic3r::GUI::GLGizmoBrimEars::render_points(), Slic3r::reset_instance_transformation(), Slic3r::Geometry::Transformation::reset_skew(), Slic3r::GUI::Selection::scale_and_translate(), scale_transform(), scale_transform(), scale_transform(), Slic3r::Geometry::Transformation::set_scaling_factor(), and Slic3r::GUI::GLGizmoCut3D::update_raycasters_for_picking_transform().
|
inline |
References EPSILON.
Referenced by Slic3r::FillLightning::lineSegmentPolygonsIntersection().
|
inline |
References Slic3r::cast(), and Slic3r::cross2().
Referenced by Slic3r::connect_brim_lines(), Slic3r::contour_distance(), Slic3r::EdgeGrid::Grid::has_intersecting_edges(), Slic3r::EdgeGrid::Grid::intersecting_edges(), Slic3r::join_close_ends(), Slic3r::FirstIntersectionVisitor::operator()(), Slic3r::FillLightning::polygonCollidesWithLineSegment(), Slic3r::trim_loop(), and Slic3r::tsp_remove_crossings().
| void Slic3r::Geometry::simplify_polygons | ( | const Polygons & | polygons, |
| double | tolerance, | ||
| Polygons * | retval ) |
References Slic3r::MultiPoint::_douglas_peucker(), Slic3r::MultiPoint::points, and Slic3r::simplify_polygons().
Referenced by Slic3r::Print::_make_skirt().
| CircleSq< Vector > Slic3r::Geometry::smallest_enclosing_circle2_welzl | ( | const Points & | points, |
| const typename Vector::Scalar | epsilon ) |
References Slic3r::cast(), Slic3r::Geometry::CircleSq< Vector >::center, Slic3r::Geometry::CircleSq< Vector >::contains(), Slic3r::Geometry::CircleSq< Vector >::inflated(), and Slic3r::Geometry::CircleSq< Vector >::radius2.
Referenced by smallest_enclosing_circle_welzl().
References SCALED_EPSILON, and smallest_enclosing_circle_welzl().
| Circle< Vector > Slic3r::Geometry::smallest_enclosing_circle_welzl | ( | const Points & | points, |
| const typename Vector::Scalar | epsilon ) |
References Slic3r::Circle, and smallest_enclosing_circle2_welzl().
Referenced by Slic3r::BuildVolume::BuildVolume(), and smallest_enclosing_circle_welzl().
|
inline |
|
inline |
Referenced by get_parabolic_segment(), Slic3r::Geometry::VoronoiUtilsCgal::is_voronoi_diagram_planar_intersection(), and orientation_of_two_edges().
|
inline |
| void Slic3r::Geometry::to_range_pi_pi | ( | T & | angle | ) |
References Slic3r::angle(), count, and PI.
Referenced by Slic3r::GUI::dragging_rotate_gizmo(), Slic3r::GUI::GLGizmoEmboss::draw_advanced(), and Slic3r::GUI::GLGizmoSVG::draw_rotation().
| Transform3d Slic3r::Geometry::transform3d_from_string | ( | const std::string & | transform_str | ) |
References Slic3r::is_decimal_separator_point(), and Slic3r::transform().
Referenced by Slic3r::_3MF_Importer::_generate_volumes(), and Slic3r::_BBS_3MF_Importer::_generate_volumes_new().
| Transform3d Slic3r::Geometry::translation_transform | ( | const Vec3d & | translation | ) |
References Slic3r::transform(), and translation_transform().
| void Slic3r::Geometry::translation_transform | ( | Transform3d & | transform, |
| const Vec3d & | translation ) |
References Slic3r::transform().
Referenced by Slic3r::GUI::GLGizmoCut3D::PartSelection::PartSelection(), Slic3r::GUI::GLCanvas3D::_render_platelist(), Slic3r::GUI::GLGizmoCut3D::apply_cut_connectors(), Slic3r::GUI::Plater::cut_horizontal(), Slic3r::GUI::cut_model(), Slic3r::GUI::GLGizmoCut3D::dragging_grabber_move(), Slic3r::GUI::GLGizmoCut3D::get_cut_matrix(), Slic3r::Geometry::Transformation::get_offset_matrix(), Slic3r::GUI::GLGizmoCut3D::has_valid_groove(), Slic3r::GUI::init_torus_data(), Slic3r::GUI::GLGizmoCut3D::is_conflict_for_connector(), Slic3r::GUI::GLGizmoCut3D::is_outside_of_cut_contour(), Slic3r::GUI::GLGizmoFlatten::on_register_raycasters_for_picking(), Slic3r::GUI::GLGizmoFlatten::on_render(), Slic3r::GUI::GLGizmoMeasure::on_render(), Slic3r::Cut::perform_with_groove(), Slic3r::Cut::perform_with_plane(), Slic3r::process_volume_cut(), Slic3r::GUI::Plater::priv::reload_from_disk(), Slic3r::GUI::GCodeViewer::SequentialView::Marker::render(), Slic3r::GUI::GLGizmoCut3D::PartSelection::render(), Slic3r::GUI::GLGizmoCut3D::render_connectors(), Slic3r::GUI::GLGizmoPainterBase::render_cursor_circle(), Slic3r::GUI::GLGizmoCut3D::render_cut_plane(), Slic3r::GUI::GLGizmoCut3D::render_cut_plane_grabbers(), Slic3r::GUI::GLGizmoMeasure::render_dimensioning(), Slic3r::GUI::GCodeViewer::render_markers(), Slic3r::GUI::GLGizmoBrimEars::render_points(), Slic3r::GUI::GLGizmoCut3D::render_rotation_snapping(), Slic3r::GUI::Plater::priv::replace_volume_with_stl(), Slic3r::ModelVolume::restore_painting(), Slic3r::GUI::Selection::rotate(), Slic3r::GUI::GLGizmoCut3D::rotate_vec3d_around_plane_center(), Slic3r::GUI::Selection::scale_and_translate(), Slic3r::GUI::GLGizmoMeasure::set_distance(), Slic3r::GUI::GLGizmoCut3D::PartSelection::toggle_selection(), Slic3r::GUI::Selection::transform_instance_relative(), Slic3r::GUI::Selection::transform_volume_relative(), Slic3r::GUI::GLGizmoCut3D::transformed_bounding_box(), Slic3r::GUI::Selection::translate(), translation_transform(), and Slic3r::GUI::GLGizmoCut3D::update_raycasters_for_picking_transform().