OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Line.hpp File Reference
#include "libslic3r.h"
#include "Point.hpp"
#include <cmath>
#include <type_traits>
#include <vector>
#include <utility>
#include <boost/polygon/polygon.hpp>
Include dependency graph for Line.hpp:

Go to the source code of this file.

Classes

struct  Slic3r::line_alg::Traits< L, En >
class  Slic3r::Line
class  Slic3r::ThickLine
class  Slic3r::CurledLine
class  Slic3r::Line3
class  Slic3r::Linef
class  Slic3r::Linef3
struct  boost::polygon::geometry_concept< Slic3r::Line >
struct  boost::polygon::segment_traits< Slic3r::Line >

Namespaces

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

Typedefs

typedef std::vector< Line > Slic3r::Lines
typedef std::vector< Line3 > Slic3r::Lines3
typedef std::vector< ThickLine > Slic3r::ThickLines
template<class L>
using Slic3r::line_alg::Scalar = typename Traits<remove_cvref_t<L>>::Scalar
using Slic3r::CurledLines = std::vector<CurledLine>
using Slic3r::Linesf = std::vector<Linef>
using Slic3r::Linesf3 = std::vector<Linef3>

Functions

Linef3 Slic3r::transform (const Linef3 &line, const Transform3d &t)
template<class L>
auto Slic3r::line_alg::get_a (L &&l)
template<class L>
auto Slic3r::line_alg::get_b (L &&l)
template<class L>
double Slic3r::line_alg::distance_to_squared (const L &line, const Vec< Dim< L >, Scalar< L > > &point, Vec< Dim< L >, Scalar< L > > *nearest_point)
template<class L>
double Slic3r::line_alg::distance_to_squared (const L &line, const Vec< Dim< L >, Scalar< L > > &point)
template<class L>
double Slic3r::line_alg::distance_to (const L &line, const Vec< Dim< L >, Scalar< L > > &point)
template<class 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)
template<class L>
double Slic3r::line_alg::distance_to_infinite_squared (const L &line, const Vec< Dim< L >, Scalar< L > > &point)
template<class L>
double Slic3r::line_alg::distance_to_infinite (const L &line, const Vec< Dim< L >, Scalar< L > > &point)
template<class L>
bool Slic3r::line_alg::intersection (const L &l1, const L &l2, Vec< Dim< L >, Scalar< L > > *intersection_pt)
BoundingBox Slic3r::get_extents (const Lines &lines)

Variables

template<class L>
const constexpr int Slic3r::line_alg::Dim = Traits<remove_cvref_t<L>>::Dim

Class Documentation

◆ boost::polygon::geometry_concept< Slic3r::Line >

struct boost::polygon::geometry_concept< Slic3r::Line >
Class Members
typedef segment_concept type