mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-16 17:22:55 +00:00
Fix for CellEdgeFace test. Case is identical to polygon.
This commit is contained in:
parent
d7e793861b
commit
b9d109ab3d
@ -215,7 +215,13 @@ struct TestCellFacesFunctor
|
||||
this->TryShapeWithNumPoints(vtkm::CellTraits<CellShapeTag>::NUM_POINTS, CellShapeTag());
|
||||
}
|
||||
|
||||
void operator()(vtkm::CellShapeTagPolyLine) const { throw "POLYLINE not supported yet"; }
|
||||
void operator()(vtkm::CellShapeTagPolyLine) const
|
||||
{
|
||||
for (vtkm::IdComponent numPoints = 3; numPoints < 7; numPoints++)
|
||||
{
|
||||
this->TryShapeWithNumPoints(numPoints, vtkm::CellShapeTagPolygon());
|
||||
}
|
||||
}
|
||||
|
||||
void operator()(vtkm::CellShapeTagPolygon) const
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user