OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::Geometry::PiecewiseFittedCurve< Dimension, NumberType, KernelType > Struct Template Reference

#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/Geometry/Curves.hpp>

Public Types

using Kernel = KernelType

Public Member Functions

Vec< Dimension, NumberType > get_fitted_value (const NumberType &observation_point) const

Public Attributes

Eigen::MatrixXf coefficients
NumberType start
NumberType segment_size
size_t endpoints_level_of_freedom

Detailed Description

template<size_t Dimension, typename NumberType, typename KernelType>
struct Slic3r::Geometry::PiecewiseFittedCurve< Dimension, NumberType, KernelType >

Member Typedef Documentation

◆ Kernel

template<size_t Dimension, typename NumberType, typename KernelType>
using Slic3r::Geometry::PiecewiseFittedCurve< Dimension, NumberType, KernelType >::Kernel = KernelType

Member Function Documentation

◆ get_fitted_value()

template<size_t Dimension, typename NumberType, typename KernelType>
Vec< Dimension, NumberType > Slic3r::Geometry::PiecewiseFittedCurve< Dimension, NumberType, KernelType >::get_fitted_value ( const NumberType & observation_point) const
inline
76 {
78
79 //find corresponding segment index; expects kernels to be centered
81 //find index of first segment that is affected by the point i; this can be deduced from kernel_span
84 segment_index++) {
87
91 }
92 return result;
93 }
size_t endpoints_level_of_freedom
Definition Curves.hpp:74
Eigen::MatrixXf coefficients
Definition Curves.hpp:71
NumberType start
Definition Curves.hpp:72
NumberType segment_size
Definition Curves.hpp:73

References coefficients, endpoints_level_of_freedom, segment_size, and start.

Member Data Documentation

◆ coefficients

template<size_t Dimension, typename NumberType, typename KernelType>
Eigen::MatrixXf Slic3r::Geometry::PiecewiseFittedCurve< Dimension, NumberType, KernelType >::coefficients

◆ endpoints_level_of_freedom

template<size_t Dimension, typename NumberType, typename KernelType>
size_t Slic3r::Geometry::PiecewiseFittedCurve< Dimension, NumberType, KernelType >::endpoints_level_of_freedom

◆ segment_size

template<size_t Dimension, typename NumberType, typename KernelType>
NumberType Slic3r::Geometry::PiecewiseFittedCurve< Dimension, NumberType, KernelType >::segment_size

◆ start

template<size_t Dimension, typename NumberType, typename KernelType>
NumberType Slic3r::Geometry::PiecewiseFittedCurve< Dimension, NumberType, KernelType >::start

The documentation for this struct was generated from the following file:
  • /home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/Geometry/Curves.hpp