OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
TriangleSelector.cpp File Reference
#include "TriangleSelector.hpp"
#include "Geometry.hpp"
#include "AABBTreeIndirect.hpp"
#include "Point.hpp"
#include "libslic3r.h"
#include "Utils.hpp"
#include "TriangleMesh.hpp"
#include <algorithm>
#include <array>
#include <Eigen/Geometry>
#include <Eigen/Core>
#include <boost/container/small_vector.hpp>
#include <boost/log/trivial.hpp>
#include <cmath>
#include <cassert>
#include <cstddef>
#include <cstring>
#include <cstdint>
#include <cstdlib>
#include <functional>
#include <memory>
#include <optional>
#include <tbb/parallel_for.h>
#include <utility>
#include <vector>
#include <queue>
Include dependency graph for TriangleSelector.cpp:

Go to the source code of this file.

Classes

struct  Slic3r::Barycentric
class  Slic3r::TriangleCursor

Namespaces

namespace  Slic3r
 |/ Copyright (c) Prusa Research 2020 - 2023 Enrico Turri @enricoturri1966 |/ |/ PrusaSlicer is released under the terms of the AGPLv3 or higher |/

Functions

static bool Slic3r::test_line_inside_sphere (const Vec3f &line_a, const Vec3f &line_b, const Vec3f &sphere_p, const float sphere_radius)
static bool Slic3r::test_line_inside_cylinder (const Vec3f &line_a, const Vec3f &line_b, const Vec3f &cylinder_P, const Vec3f &cylinder_Q, const float cylinder_radius)
static bool Slic3r::test_line_inside_capsule (const Vec3f &line_a, const Vec3f &line_b, const Vec3f &capsule_p, const Vec3f &capsule_q, const float capsule_radius)
static bool Slic3r::is_point_inside_triangle (const Vec3f &pt, const Vec3f &p1, const Vec3f &p2, const Vec3f &p3)
static bool Slic3r::split_code_valid (int code)
static bool Slic3r::is_mesh_point_not_clipped (const Vec3f &point, const TriangleSelector::ClippingPlane &clipping_plane)
static bool Slic3r::is_circle_pointer_inside_triangle (const Vec3f &p1_, const Vec3f &p2_, const Vec3f &p3_, const Vec3f &center, const Vec3f &dir, const bool uniform_scaling, const Transform3f &trafo)
bool Slic3r::line_plane_intersection (const Vec3f &line_a, const Vec3f &line_b, const Vec3f &plane_origin, const Vec3f &plane_normal, Vec3f &out_intersection)
static bool Slic3r::segments_intersect_proj (const Vec3f &p1, const Vec3f &p2, const Vec3f &p3, const Vec3f &p4, const std::pair< int, int > &proj)