OCCT-Light 0.1
C ABI and C++ veneer for multi-language CAD workflows
Loading...
Searching...
No Matches
occtl_select_group_view Struct Reference

#include <occtl_topo_build.h>

Collaboration diagram for occtl_select_group_view:

Public Attributes

uint32_t struct_version
 
const void * p_next
 
occtl_select_group_key_t key
 
occtl_node_kind_t node_kind
 
occtl_curve_kind_t curve_kind
 
occtl_surface_kind_t surface_kind
 
double numeric_key
 
const char * name
 
size_t name_len
 
int32_t has_color
 
occtl_color_rgba_t color
 
const occtl_node_id_tnodes
 
size_t node_count
 

Detailed Description

Immutable view of one selected-node group.

Pointer fields borrow from the owning occtl_select_group_iter_t and remain valid until the iterator is advanced or freed.

Member Data Documentation

◆ color

occtl_color_rgba_t occtl_select_group_view::color

◆ curve_kind

occtl_curve_kind_t occtl_select_group_view::curve_kind

◆ has_color

int32_t occtl_select_group_view::has_color

0/1; whether color is valid.

◆ key

occtl_select_group_key_t occtl_select_group_view::key

Grouping key that produced this view.

◆ name

const char* occtl_select_group_view::name

Name bytes for OCCTL_SELECT_GROUP_NAME; may be NULL.

◆ name_len

size_t occtl_select_group_view::name_len

Length of name in bytes.

◆ node_count

size_t occtl_select_group_view::node_count

Number of elements in nodes.

◆ node_kind

occtl_node_kind_t occtl_select_group_view::node_kind

◆ nodes

const occtl_node_id_t* occtl_select_group_view::nodes

Borrowed span of grouped nodes.

◆ numeric_key

double occtl_select_group_view::numeric_key

◆ p_next

const void* occtl_select_group_view::p_next

Reserved; set to NULL.

◆ struct_version

uint32_t occtl_select_group_view::struct_version

Must be OCCTL_SELECT_GROUP_VIEW_VERSION_1.

◆ surface_kind

occtl_surface_kind_t occtl_select_group_view::surface_kind

The documentation for this struct was generated from the following file: