diff options
Diffstat (limited to 'xs/src/libnest2d/tools/libnfpglue.hpp')
-rw-r--r-- | xs/src/libnest2d/tools/libnfpglue.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xs/src/libnest2d/tools/libnfpglue.hpp b/xs/src/libnest2d/tools/libnfpglue.hpp index 75f639445..1ff033cb9 100644 --- a/xs/src/libnest2d/tools/libnfpglue.hpp +++ b/xs/src/libnest2d/tools/libnfpglue.hpp @@ -5,22 +5,22 @@ namespace libnest2d { -using NfpR = Nfp::NfpResult<PolygonImpl>; +using NfpR = nfp::NfpResult<PolygonImpl>; NfpR _nfp(const PolygonImpl& sh, const PolygonImpl& cother); template<> -struct Nfp::NfpImpl<PolygonImpl, NfpLevel::CONVEX_ONLY> { +struct nfp::NfpImpl<PolygonImpl, nfp::NfpLevel::CONVEX_ONLY> { NfpR operator()(const PolygonImpl& sh, const PolygonImpl& cother); }; template<> -struct Nfp::NfpImpl<PolygonImpl, NfpLevel::ONE_CONVEX> { +struct nfp::NfpImpl<PolygonImpl, nfp::NfpLevel::ONE_CONVEX> { NfpR operator()(const PolygonImpl& sh, const PolygonImpl& cother); }; template<> -struct Nfp::NfpImpl<PolygonImpl, NfpLevel::BOTH_CONCAVE> { +struct nfp::NfpImpl<PolygonImpl, nfp::NfpLevel::BOTH_CONCAVE> { NfpR operator()(const PolygonImpl& sh, const PolygonImpl& cother); }; @@ -34,7 +34,7 @@ struct Nfp::NfpImpl<PolygonImpl, NfpLevel::BOTH_CONCAVE> { // NfpResult operator()(const PolygonImpl& sh, const PolygonImpl& cother); //}; -template<> struct Nfp::MaxNfpLevel<PolygonImpl> { +template<> struct nfp::MaxNfpLevel<PolygonImpl> { static const BP2D_CONSTEXPR NfpLevel value = // NfpLevel::CONVEX_ONLY; NfpLevel::BOTH_CONCAVE; |