Structure f3d::mesh_view::cell_array_t
Definition: mesh\_view.h (line 126)
Structure representing a cell array. For vertices and lines, offsets encodes the size of the polyvertex and polylines group respectively. For polygons, offsets encodes the size of each polygons (number of vertices per face). offsetCount must be equal to the number of cells + 1, and the last value in offsets must be equal to indexCount. If offsetCount is 1, it means that there is no cell. Will throw a load_failure_exception if any of this assumptions is not respected:
-
offsetCount is less than 1
-
offsets can be empty or must have 1 component and a data type of I32, U32, I64, or U64
-
indices can be empty or must have 1 component and a data type of I32, U32, I64, or U64
-
offsets and indices must have the same data type
Members
Public attributes
Variable offsetCount
Definition: mesh\_view.h (line 128)
size_t f3d::mesh_view::cell_array_t::offsetCount = 1
Type: size_t
Variable offsets
Definition: mesh\_view.h (line 129)
data_array_t f3d::mesh_view::cell_array_t::offsets
Type: data_array_t
Variable indexCount
Definition: mesh\_view.h (line 130)
size_t f3d::mesh_view::cell_array_t::indexCount = 0
Type: size_t
Variable indices
Definition: mesh\_view.h (line 131)
data_array_t f3d::mesh_view::cell_array_t::indices
Type: data_array_t