My Project
programmer's documentation
Data Fields
cs_mesh_extrude_vectors_t Struct Reference

#include <cs_mesh_extrude.h>

Collaboration diagram for cs_mesh_extrude_vectors_t:
Collaboration graph

Data Fields

cs_lnum_t n_faces
 
cs_lnum_t n_vertices
 
cs_lnum_tface_ids
 
cs_lnum_tvertex_ids
 
cs_lnum_tn_layers
 
cs_coord_3_tcoord_shift
 
cs_lnum_tdistribution_idx
 
float * distribution
 

Detailed Description

Mesh extrusion vectors definition;

This structure defines local extrusion vectors; it is usually created or updated with utility functions, and may be modified by the user in case fine control is needed

Field Documentation

◆ coord_shift

cs_coord_3_t* coord_shift

extrusion vector for each vertex

◆ distribution

float* distribution

optional distribution of resulting vertices along each extrusion vector, with values in range ]0, 1], or NULL (size: distribution_idx[n_vertices])

◆ distribution_idx

cs_lnum_t* distribution_idx

index of optional distribution

◆ face_ids

cs_lnum_t* face_ids

ids of associated faces, or NULL

◆ n_faces

cs_lnum_t n_faces

number of associated faces

◆ n_layers

cs_lnum_t* n_layers

number of layers for each vertex

◆ n_vertices

cs_lnum_t n_vertices

number of associated vertices

◆ vertex_ids

cs_lnum_t* vertex_ids

ids of associated vertices, or NULL


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