// 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 _IntPatch_PolyhedronTool_HeaderFile #define _IntPatch_PolyhedronTool_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Handle_Bnd_HArray1OfBox_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif class Standard_OutOfRange; class Bnd_Box; class IntPatch_Polyhedron; class Bnd_HArray1OfBox; class gp_Pnt; //! Describe the signature of a polyedral surface with
//! only triangular facets and the necessary informations
//! to compute the interferences.
class IntPatch_PolyhedronTool { public: void* operator new(size_t,void* anAddress) { return anAddress; } void* operator new(size_t size) { return Standard::Allocate(size); } void operator delete(void *anAddress) { if (anAddress) Standard::Free((Standard_Address&)anAddress); } //! Give the bounding box of the Polyhedron.
static const Bnd_Box& Bounding(const IntPatch_Polyhedron& thePolyh) ; //! Give the array of boxes. The box corresponding
//! to the triangle .
static const Handle_Bnd_HArray1OfBox& ComponentsBounding(const IntPatch_Polyhedron& thePolyh) ; //! Give the tolerance of the polygon.
static Standard_Real DeflectionOverEstimation(const IntPatch_Polyhedron& thePolyh) ; //! Give the number of triangles in this polyedral surface.
static Standard_Integer NbTriangles(const IntPatch_Polyhedron& thePolyh) ; //! Give the indices of the 3 points of the triangle of
//! address Index in the Polyhedron.
static void Triangle(const IntPatch_Polyhedron& thePolyh,const Standard_Integer Index,Standard_Integer& P1,Standard_Integer& P2,Standard_Integer& P3) ; //! Give the point of index i in the polyedral surface.
static const gp_Pnt& Point(const IntPatch_Polyhedron& thePolyh,const Standard_Integer Index) ; //! Gives the addresse Tricon of the triangle connexe to
//! the triangle of address Triang by the edge Pivot Pedge
//! and the third point of this connexe triangle. When we
//! are on a free edge TriCon==0 but the function return
//! the value of the triangle in the other side of Pivot
//! on the free edge. Used to turn around a vertex.
static Standard_Integer TriConnex(const IntPatch_Polyhedron& thePolyh,const Standard_Integer Triang,const Standard_Integer Pivot,const Standard_Integer Pedge,Standard_Integer& TriCon,Standard_Integer& OtherP) ; protected: private: }; #include // other Inline functions and methods (like "C++: function call" methods) #endif