Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
libnest2d::nfp::NfpImpl< RawShape, nfptype > Struct Template Reference

#include <src/libnest2d/include/libnest2d/geometry_traits_nfp.hpp>

Public Member Functions

NfpResult< RawShape > operator() (const RawShape &sh, const RawShape &other)
 

Detailed Description

template<class RawShape, NfpLevel nfptype>
struct libnest2d::nfp::NfpImpl< RawShape, nfptype >

Member Function Documentation

◆ operator()()

template<class RawShape , NfpLevel nfptype>
NfpResult< RawShape > libnest2d::nfp::NfpImpl< RawShape, nfptype >::operator() ( const RawShape &  sh,
const RawShape &  other 
)
inline
323 {
324 static_assert(nfptype == NfpLevel::CONVEX_ONLY,
325 "Nfp::noFitPolygon() unimplemented!");
326
327 // Libnest2D has a default implementation for convex polygons and will
328 // use it if feasible.
329 return nfpConvexOnly(sh, other);
330 }
NfpResult< RawShape > nfpConvexOnly(const RawShape &sh, const RawShape &other)
Definition geometry_traits_nfp.hpp:201

References libnest2d::nfp::nfpConvexOnly().

+ Here is the call graph for this function:

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