DATAKIT SDK  V2026.2
Accessing to Dtk_Body

A Dtk_Body Dtk_Body is the highest level topological entity. It allow you to handle manifold and non-manifold object , open skin or surfacic model and wire entities.

A Dtk_Body is a 3D entity for solid and wireframe entities.


A surfaces model has several bodies with each an open shell containing one face.

// Get the Body BREP information
Dtk_BodyPtr TmpBody = inNode->GetDtk_BodyPtr();
// Some CAD formats store also faceted data besides BREP.
// So you can get faceted data corresponding to the body
// using the following method
Dtk_MeshPtr TmpFacetedBody = inNode->GetDtk_MeshPtr();
See also
Use Dtk_BodyPtr class to handle it.
Detail about How to use Dtk_Body Class

Sample to browse a Dtk_Body


Dtk_SmartPtr
Definition: util_ptr_dtk.hpp:37