OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::Geometry::impl::ParabolicTangentToSegmentOrientationPredicate< K > Struct Template Reference

Public Types

using Point_2 = typename K::Point_2
using Vector_2 = typename K::Vector_2
using Orientation = typename K::Orientation
using result_type = typename K::Orientation

Public Member Functions

result_type operator() (const Point_2 &p, const Point_2 &q, const Point_2 &f, const Point_2 &u, const Point_2 &v, const Orientation &tangent_orientation) const

Detailed Description

template<typename K>
struct Slic3r::Geometry::impl::ParabolicTangentToSegmentOrientationPredicate< K >

Member Typedef Documentation

◆ Orientation

template<typename K>
using Slic3r::Geometry::impl::ParabolicTangentToSegmentOrientationPredicate< K >::Orientation = typename K::Orientation

◆ Point_2

template<typename K>
using Slic3r::Geometry::impl::ParabolicTangentToSegmentOrientationPredicate< K >::Point_2 = typename K::Point_2

◆ result_type

template<typename K>
using Slic3r::Geometry::impl::ParabolicTangentToSegmentOrientationPredicate< K >::result_type = typename K::Orientation

◆ Vector_2

template<typename K>
using Slic3r::Geometry::impl::ParabolicTangentToSegmentOrientationPredicate< K >::Vector_2 = typename K::Vector_2

Member Function Documentation

◆ operator()()

template<typename K>
result_type Slic3r::Geometry::impl::ParabolicTangentToSegmentOrientationPredicate< K >::operator() ( const Point_2 & p,
const Point_2 & q,
const Point_2 & f,
const Point_2 & u,
const Point_2 & v,
const Orientation & tangent_orientation ) const
inline
97 {
99
102
103 return CGAL::sign(tangent_vec.x() * linear_vec.y() - tangent_vec.y() * linear_vec.x());
104 }
K::Vector_2 calculate_parabolic_tangent_vector(const typename K::Point_2 &p, const typename K::Point_2 &f, const typename K::Point_2 &u, const typename K::Point_2 &v, const typename K::Orientation &tangent_orientation)
Definition VoronoiUtilsCgal.cpp:57
typename K::Vector_2 Vector_2
Definition VoronoiUtilsCgal.cpp:81

References Slic3r::Geometry::impl::calculate_parabolic_tangent_vector(), and Slic3r::f().

Here is the call graph for this function:

The documentation for this struct was generated from the following file: