diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-04-19 11:42:58 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2019-04-19 11:42:58 +0200 |
commit | 6640f397f15b4179a7283b27c060d3f4f7c9917a (patch) | |
tree | 253f8d6f1b38ec07eade7e249472500174324699 /thirdparty/thekla_atlas/nvmesh/param/ParameterizationQuality.h | |
parent | 1b3ea697c5dcbbb2feb0f96204de257532edaf0c (diff) |
Drop unused thekla_atlas dependency
Since f12cb82 @reduz dropped the use of the thirdparty thekla_atlas
library, which is replaced by xatlas.
Fixes #28180.
Fixes #28182.
Diffstat (limited to 'thirdparty/thekla_atlas/nvmesh/param/ParameterizationQuality.h')
-rw-r--r-- | thirdparty/thekla_atlas/nvmesh/param/ParameterizationQuality.h | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/thirdparty/thekla_atlas/nvmesh/param/ParameterizationQuality.h b/thirdparty/thekla_atlas/nvmesh/param/ParameterizationQuality.h deleted file mode 100644 index 342e26b889..0000000000 --- a/thirdparty/thekla_atlas/nvmesh/param/ParameterizationQuality.h +++ /dev/null @@ -1,56 +0,0 @@ -// Copyright NVIDIA Corporation 2008 -- Ignacio Castano <icastano@nvidia.com> - -#pragma once -#ifndef NV_MESH_PARAMETERIZATIONQUALITY_H -#define NV_MESH_PARAMETERIZATIONQUALITY_H - -#include <nvmesh/nvmesh.h> - -namespace nv -{ - class Vector2; - class Vector3; - - namespace HalfEdge { class Mesh; } - - // Estimate quality of existing parameterization. - NVMESH_CLASS class ParameterizationQuality - { - public: - ParameterizationQuality(); - ParameterizationQuality(const HalfEdge::Mesh * mesh); - - bool isValid() const; - - float rmsStretchMetric() const; - float maxStretchMetric() const; - - float rmsConformalMetric() const; - float maxAuthalicMetric() const; - - void operator += (const ParameterizationQuality & pq); - - private: - - void processTriangle(Vector3 p[3], Vector2 t[3]); - - private: - - uint m_totalTriangleCount; - uint m_flippedTriangleCount; - uint m_zeroAreaTriangleCount; - - float m_parametricArea; - float m_geometricArea; - - float m_stretchMetric; - float m_maxStretchMetric; - - float m_conformalMetric; - float m_authalicMetric; - - }; - -} // nv namespace - -#endif // NV_MESH_PARAMETERIZATIONQUALITY_H |