Triangle or quadrilateral cell of a Mesh. More...
#include <meshkit/mesh.hpp>
Public Attributes | |
| std::array< Index, 4 > | vertices {} |
| Corner vertex indices in counter-clockwise order; only the first count entries are used (runJob() writes 0 to the unused fourth entry of a triangle). | |
| std::int32_t | region = 0 |
| Region identifier, named by the Label with the same id when one exists; 0 when no region was assigned. | |
| std::uint8_t | count = 3 |
| Number of corners: 3 (triangle) or 4 (quadrilateral). | |
Triangle or quadrilateral cell of a Mesh.
validateMesh() requires every used corner index to be inside Mesh::vertices and the corners to form a strictly convex, counter-clockwise polygon in the XY plane.
| std::uint8_t meshkit::Cell::count = 3 |
Number of corners: 3 (triangle) or 4 (quadrilateral).
| std::int32_t meshkit::Cell::region = 0 |
Region identifier, named by the Label with the same id when one exists; 0 when no region was assigned.
| std::array<Index, 4> meshkit::Cell::vertices {} |