DATAKIT API  V2025.1
Dtk_mesh_instance Class Reference

This class gathers asm instance related datas. Only Part or Asm has to be filled. More...

Public Member Functions

 Dtk_mesh_instance (Dtk_mesh_asm_node *, Dtk_matrix *)
 Constructor with Asm node and a matrix. More...
 
 Dtk_mesh_instance (Dtk_mesh_part *, Dtk_matrix *)
 constructor with Part node and a matrix More...
 
Dtk_bool is_asm ()
 Return true if asm is filled. More...
 
Dtk_bool is_mesh ()
 Return true if mesh is filled. More...
 
 ~Dtk_mesh_instance ()
 Destructor. More...
 

Data Fields

Dtk_mesh_asm_nodeAsm
 Asm node to be written. More...
 
int id
 
Dtk_matrixMatrix
 Transformation matrix. More...
 
Dtk_mesh_partMesh
 Part node to be written. More...
 

Detailed Description

This class gathers asm instance related datas. Only Part or Asm has to be filled.

Constructor & Destructor Documentation

◆ Dtk_mesh_instance() [1/2]

Dtk_mesh_instance::Dtk_mesh_instance ( Dtk_mesh_part ,
Dtk_matrix  
)

constructor with Part node and a matrix

◆ Dtk_mesh_instance() [2/2]

Dtk_mesh_instance::Dtk_mesh_instance ( Dtk_mesh_asm_node ,
Dtk_matrix  
)

Constructor with Asm node and a matrix.

◆ ~Dtk_mesh_instance()

Dtk_mesh_instance::~Dtk_mesh_instance ( )

Destructor.

Member Function Documentation

◆ is_asm()

Dtk_bool Dtk_mesh_instance::is_asm ( )

Return true if asm is filled.

◆ is_mesh()

Dtk_bool Dtk_mesh_instance::is_mesh ( )

Return true if mesh is filled.

Field Documentation

◆ Asm

Dtk_mesh_asm_node* Dtk_mesh_instance::Asm

Asm node to be written.

◆ id

int Dtk_mesh_instance::id

◆ Matrix

Dtk_matrix* Dtk_mesh_instance::Matrix

Transformation matrix.

◆ Mesh

Dtk_mesh_part* Dtk_mesh_instance::Mesh

Part node to be written.