12 #ifndef __GU_Solidify_h__
13 #define __GU_Solidify_h__
28 #include <Eigen/Sparse>
29 #include <Eigen/IterativeLinearSolvers>
36 typedef Eigen::SparseMatrix<double>
MatrixType;
37 typedef Eigen::SparseLU<MatrixType>
SolverType;
49 void findInteriorTets(
75 if ( !mySrc )
return false;
76 return myTetSolidityIndex[mySrc->primitiveIndex(tet)] != -1;
83 auto idx = myTetSolidityIndex[mySrc->primitiveIndex(tet)];
87 return mySolidity[idx];
89 return mySolidity(idx);
101 VectorType mySolidity;
104 #endif // __GU_Solidify_h__
const GU_Detail * getSrc()
fpreal getSolidity(GA_Offset tet)
const GA_PrimitiveGroup * getPolyGrp()
const GA_PrimitiveGroup * getTetGrp()
bool hasValidSolidity(GA_Offset tet)