/usr/include/oce/QANewModTopOpe.hxx is in liboce-visualization-dev 0.18.2-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | // This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _QANewModTopOpe_HeaderFile
#define _QANewModTopOpe_HeaderFile
#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Macro.hxx>
#include <Standard_Boolean.hxx>
#include <TopAbs_ShapeEnum.hxx>
class TopoDS_Shape;
class TopoDS_Compound;
class QANewModTopOpe_Tools;
class QANewModTopOpe_Limitation;
class QANewModTopOpe_Intersection;
class QANewModTopOpe_Glue;
class QANewModTopOpe_ReShaper;
//! QANewModTopOpe package provides classes for limitation, gluing
//! and removing "floating" shapes.
class QANewModTopOpe
{
public:
DEFINE_STANDARD_ALLOC
//! to remove "floating" objects from compound.
//! "floating" objects are wires, edges, vertices that do not belong
//! solids, shells or faces.
//! to check if TheS is valid or not.
//! in difference with BRepCheck_Analizer, this method allows
//! some kind of non-manifold shapes
Standard_EXPORT static Standard_Boolean IsValid (const TopoDS_Shape& TheS, const Standard_Boolean GeomControls = Standard_True) ;
//! to check if TheS is manifol or not.
//! manifold shape is valid SOLID, SHELL, WIRE, EDGE, VERTEX without internal
//! subshapes - faces, wires, edges and vertices that have INTERNAL orientation
//! For SHELL there are additional conditions: orientations of faces must
//! corresponds each other, each edge must be shared not more then two faces.
//! COMPSOLID is non manifold by default.
//! COMPOUND conciders to be manifold if:
//! 1) all shapes in compound are manifold (see above mentioned definitions)
//! 2) all shapes are fully disconnected - there are any shapes in compound that
//! share common subshapes.
Standard_EXPORT static Standard_Boolean IsManifold (const TopoDS_Shape& TheS) ;
//! to check if TheS is manifol or not.
//! compound conciders to be manifold if:
//! 1) all shapes in compound are manifold (see comments for method IsManifold)
//! 2) all shapes are fully disconnected - there are any shapes in compound that
//! share common subshapes.
Standard_EXPORT static Standard_Boolean IsCompoundManifold (const TopoDS_Compound& TheS) ;
//! to define if COMPOUND is homogeneous
//! (consists of shapes of the same type) and return this shape type.
//! If COMPOUND is mixed, method returns TopAbs_COMPOUND.
//! If TheS is single shape (not COMPOUND), method returns its type.
//! If COMPOUND contains nested compounds, it concideres to be homogeneous
//! if all compounds consist of shapes of the same type.
Standard_EXPORT static TopAbs_ShapeEnum TypeOfShape (const TopoDS_Shape& TheS) ;
//! to check if all subshapes in TheS, when TheS is COMPOUND, COMPSOLID, SHELL or WIRE,
//! are linked through common faces, edges or vertices.
//! SOLID, FACE, EDGE, VERTEX concider to be connected by default.
Standard_EXPORT static Standard_Boolean IsConnected (const TopoDS_Shape& TheS) ;
protected:
private:
friend class QANewModTopOpe_Tools;
friend class QANewModTopOpe_Limitation;
friend class QANewModTopOpe_Intersection;
friend class QANewModTopOpe_Glue;
friend class QANewModTopOpe_ReShaper;
};
#endif // _QANewModTopOpe_HeaderFile
|