gmio_support: fix minor issues in stl_occ* files

This commit is contained in:
Hugues Delorme 2016-04-15 12:43:32 +02:00
parent ac6d242f9a
commit 8d103964fb
4 changed files with 16 additions and 8 deletions

View File

@ -14,9 +14,9 @@
****************************************************************************/ ****************************************************************************/
/*! \file stl_occ_mesh.h /*! \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 * It is used to iterate efficiently over the triangles of all domains within
* a StlMesh_Mesh object. * 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 struct gmio_stl_occmesh_iterator
{ {

View File

@ -20,6 +20,8 @@
#include <MeshVS_DataSource.hxx> #include <MeshVS_DataSource.hxx>
#include <TColStd_PackedMapOfInteger.hxx> #include <TColStd_PackedMapOfInteger.hxx>
#include <cstddef>
namespace internal { namespace internal {
static void occmesh_datasource_get_triangle( static void occmesh_datasource_get_triangle(

View File

@ -13,10 +13,10 @@
** "http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html". ** "http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html".
****************************************************************************/ ****************************************************************************/
/*! \file stl_occ.h /*! \file stl_occ_meshvs.h
* Support of OpenCascade's MeshVS_DataSource * STL support of OpenCascade's MeshVS_DataSource
* *
* \addtogroup gmio_support * \addtogroup gmio_support
* @{ * @{
*/ */
@ -29,7 +29,6 @@
#include "support_global.h" #include "support_global.h"
#include "../gmio_stl/stl_mesh.h" #include "../gmio_stl/stl_mesh.h"
#include "../gmio_stl/stl_mesh_creator.h"
#include <MeshVS_DataSource.hxx> #include <MeshVS_DataSource.hxx>
#include <TColStd_Array1OfReal.hxx> #include <TColStd_Array1OfReal.hxx>
@ -59,7 +58,7 @@ gmio_stl_mesh gmio_stl_occmesh(const gmio_stl_occmesh_datasource_iterator& it);
* object.\n * object.\n
* Each element should be of type MeshVS_ET_Face and made of 3 nodes. * 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 struct gmio_stl_occmesh_datasource_iterator
{ {

View File

@ -21,6 +21,13 @@
* *
* \c gmioSupport is the bridge between \c gmio and other 3rd-party libraries * \c gmioSupport is the bridge between \c gmio and other 3rd-party libraries
* (eg. OpenCascade, Qt, ...)\n * (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 * Nonetheless, to avoid the \c gmio library being dependent of some other
* binaries, compilation of \c gmioSupport is left to the developer.\n * binaries, compilation of \c gmioSupport is left to the developer.\n
* For example if Qt streams are needed then the target project must build * For example if Qt streams are needed then the target project must build