DATAKIT API  V2025.1
Dtk_OrientedFaceStr Struct Reference

: This structure contain a pointer to a Dtk_Face and the Value of orientation of this face from shell When use this structure if you use the folllowing methods to tesselate : tess_AddFace() , tess_FacesArrayToMesh() , tess_FaceToMesh() you can replace the Dtk_facePtr by this structure advantage : the tesselation use the orientation boolean to reverse or not the MeshFace resulting More...

Data Fields

Dtk_FacePtr _face
 
Dtk_bool _orientation
 

Detailed Description

: This structure contain a pointer to a Dtk_Face and the Value of orientation of this face from shell When use this structure if you use the folllowing methods to tesselate : tess_AddFace() , tess_FacesArrayToMesh() , tess_FaceToMesh() you can replace the Dtk_facePtr by this structure advantage : the tesselation use the orientation boolean to reverse or not the MeshFace resulting

How to use this structure

err = inShell->GetFace( i, face, orientation );
//face = Dtk_FacePtr
//orientation = face ortientation in shell
inTabFace.pushback(dtk_OrientedFace(face,orientation));

Field Documentation

◆ _face

Dtk_FacePtr Dtk_OrientedFaceStr::_face

◆ _orientation

Dtk_bool Dtk_OrientedFaceStr::_orientation