20 TwoTrianglesTwoQuadsPatchConstructor() {};
22 bool isSamePatchType(
const VertexHandle& a_VertexHandle, MeshType& a_Mesh,
bool check_marked =
false)
override;
25 Patch getPatch(
const std::vector<VertexHandle>& a_NBVertexHandles, MeshType& a_Mesh);
26 Mat9x3d getPatchMat(
const std::vector<VertexHandle>& a_NBVertexHandles, MeshType& a_Mesh);
29 const Mat9x9d m_Mask =
Matrix({
30 {0.25, 0.25, 0, 0.25, 0.25, 0, 0, 0, 0},
31 {0, 0.5, 0, 0, 0.5, 0, 0, 0, 0},
32 {0, 0.25, 0.25, 0, 0.25, 0.25, 0, 0, 0},
33 {0, 0, 0, 0.5, 0.5, 0, 0, 0, 0},
34 {0, 0, 0, 0, 1, 0, 0, 0, 0},
35 {0, 0, 0, 0, 0.5, 0.5, 0, 0, 0},
36 {0, 0, 0, 0.25, 0.25, 0, 0.25, 0.25, 0},
37 {0, 0, 0, 0, 0.5, 0, 0, 0.5, 0},
38 {0, 0, 0, 0, 0.25, 0.25, 0, 0.25, 0.25}
58 std::vector<VertexHandle>
initNeighborVerts(
const VertexHandle& a_VertexHandle, MeshType& a_Mesh);
bool isSamePatchType(const VertexHandle &a_VertexHandle, MeshType &a_Mesh, bool check_marked=false) override
Given a vertex, checks wither the vertex and the neighborhood arund the vertex of this patch type.
Definition TwoTrianglesTwoQuadsPatchConstructor.cpp:9