|
OCCT-Light 0.1
C ABI and C++ veneer for multi-language CAD workflows
|
#include <occtl_mesh.h>
Public Attributes | |
| uint32_t | struct_version |
| const void * | p_next |
| const double * | nodes |
| size_t | node_count |
| const uint32_t * | triangles |
| size_t | triangle_count |
| double | deflection |
Input buffers for occtl_mesh_from_buffers.
Nodes are xyz-interleaved doubles. Triangles are 0-indexed triplets into nodes, matching the rest of the public mesh ABI. The library copies the buffers into an OCCT #Poly_Triangulation owned by a new graph, so the caller may free the input arrays after the function returns.
| double occtl_mesh_from_buffers_options::deflection |
Stored triangulation deflection. Must be finite and non-negative.
| size_t occtl_mesh_from_buffers_options::node_count |
Number of vertices in nodes.
| const double* occtl_mesh_from_buffers_options::nodes |
xyz interleaved doubles, length 3 * node_count. Borrows it.
| const void* occtl_mesh_from_buffers_options::p_next |
Reserved for extensions; must be NULL.
| uint32_t occtl_mesh_from_buffers_options::struct_version |
Must be OCCTL_MESH_FROM_BUFFERS_OPTIONS_VERSION_1.
| size_t occtl_mesh_from_buffers_options::triangle_count |
Number of triangles in triangles.
| const uint32_t* occtl_mesh_from_buffers_options::triangles |
0-indexed triplets, length 3 * triangle_count. Borrows it.