templated ComputePerFaceQualityDistribution on mesh scalar type

This commit is contained in:
Nico Pietroni 2015-12-24 10:53:18 +00:00
parent 04095c6f19
commit 8bc9d1a195
1 changed files with 2 additions and 1 deletions

View File

@ -158,7 +158,8 @@ public:
} }
} }
static void ComputePerFaceQualityDistribution( MeshType & m, Distribution<float> &h, bool selectionOnly = false) // V1.0 static void ComputePerFaceQualityDistribution( MeshType & m, Distribution<typename MeshType::ScalarType> &h,
bool selectionOnly = false) // V1.0
{ {
tri::RequirePerFaceQuality(m); tri::RequirePerFaceQuality(m);
for(FaceIterator fi = m.face.begin(); fi != m.face.end(); ++fi) for(FaceIterator fi = m.face.begin(); fi != m.face.end(); ++fi)