From 8d103964fb4a4ca1ed468959e951511a785c4a5f Mon Sep 17 00:00:00 2001 From: Hugues Delorme Date: Fri, 15 Apr 2016 12:43:32 +0200 Subject: [PATCH] gmio_support: fix minor issues in stl_occ* files --- src/gmio_support/stl_occ_mesh.h | 6 +++--- src/gmio_support/stl_occ_meshvs.cpp | 2 ++ src/gmio_support/stl_occ_meshvs.h | 9 ++++----- src/gmio_support/support_global.h | 7 +++++++ 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/src/gmio_support/stl_occ_mesh.h b/src/gmio_support/stl_occ_mesh.h index 71c512a..757d209 100644 --- a/src/gmio_support/stl_occ_mesh.h +++ b/src/gmio_support/stl_occ_mesh.h @@ -14,9 +14,9 @@ ****************************************************************************/ /*! \file stl_occ_mesh.h - * Support of OpenCascade's StlMesh_Mesh + * STL support of OpenCascade's StlMesh_Mesh * -* \addtogroup gmio_support + * \addtogroup gmio_support * @{ */ @@ -73,7 +73,7 @@ gmio_stl_mesh_creator gmio_stl_occmesh_creator(const Handle_StlMesh_Mesh& hnd); * It is used to iterate efficiently over the triangles of all domains within * a StlMesh_Mesh object. * - * Don't use API of this class, it's intended to gmio_stl_mesh() + * Don't use API of this class, it's intended to gmio_stl_occmesh() */ struct gmio_stl_occmesh_iterator { diff --git a/src/gmio_support/stl_occ_meshvs.cpp b/src/gmio_support/stl_occ_meshvs.cpp index 259fd16..656f273 100644 --- a/src/gmio_support/stl_occ_meshvs.cpp +++ b/src/gmio_support/stl_occ_meshvs.cpp @@ -20,6 +20,8 @@ #include #include +#include + namespace internal { static void occmesh_datasource_get_triangle( diff --git a/src/gmio_support/stl_occ_meshvs.h b/src/gmio_support/stl_occ_meshvs.h index 64bf1b1..183fae9 100644 --- a/src/gmio_support/stl_occ_meshvs.h +++ b/src/gmio_support/stl_occ_meshvs.h @@ -13,10 +13,10 @@ ** "http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html". ****************************************************************************/ -/*! \file stl_occ.h - * Support of OpenCascade's MeshVS_DataSource +/*! \file stl_occ_meshvs.h + * STL support of OpenCascade's MeshVS_DataSource * -* \addtogroup gmio_support + * \addtogroup gmio_support * @{ */ @@ -29,7 +29,6 @@ #include "support_global.h" #include "../gmio_stl/stl_mesh.h" -#include "../gmio_stl/stl_mesh_creator.h" #include #include @@ -59,7 +58,7 @@ gmio_stl_mesh gmio_stl_occmesh(const gmio_stl_occmesh_datasource_iterator& it); * object.\n * Each element should be of type MeshVS_ET_Face and made of 3 nodes. * - * Don't use API of this class, it's intended to gmio_stl_mesh() + * Don't use API of this class, it's intended to gmio_stl_occmesh() */ struct gmio_stl_occmesh_datasource_iterator { diff --git a/src/gmio_support/support_global.h b/src/gmio_support/support_global.h index 09bb889..931040d 100644 --- a/src/gmio_support/support_global.h +++ b/src/gmio_support/support_global.h @@ -21,6 +21,13 @@ * * \c gmioSupport is the bridge between \c gmio and other 3rd-party libraries * (eg. OpenCascade, Qt, ...)\n + * + * STL + * import | export + * StlMesh_Mesh yes yes + * MeshVS_DataSource no yes + * TopoDS_Shape no yes + * * Nonetheless, to avoid the \c gmio library being dependent of some other * binaries, compilation of \c gmioSupport is left to the developer.\n * For example if Qt streams are needed then the target project must build