1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-24 13:50:49 +03:00

0026180: Modeling Algorithms - Provide shape self-intersection detector

Small correction of test case for issue CR26180

Fix GCC compilation warnings.
This commit is contained in:
dbp
2015-05-28 12:16:22 +03:00
committed by bugmaster
parent d5f061b671
commit ae9a414af0
13 changed files with 1704 additions and 611 deletions

View File

@@ -17,14 +17,13 @@
#define _BRepExtrema_TriangleSet_HeaderFile
#include <TopoDS_Face.hxx>
#include <BVH_PrimitiveSet.hxx>
//! List of shapes and their IDs for collision detection.
typedef NCollection_Vector<TopoDS_Face> BRepExtrema_ShapeList;
//! Triangle set corresponding to specific face.
class BRepExtrema_TriangleSet : public BVH_PrimitiveSet<Standard_Real, 3>
class BRepExtrema_TriangleSet : public BVH_PrimitiveSet<Standard_Real, 3>, public Standard_Transient
{
public:
@@ -79,6 +78,12 @@ protected:
//! Array of vertex coordinates.
BVH_Array3d myVertexArray;
public:
DEFINE_STANDARD_RTTI(BRepExtrema_TriangleSet)
};
DEFINE_STANDARD_HANDLE (BRepExtrema_TriangleSet, Standard_Transient)
#endif // _BRepExtrema_TriangleSet_HeaderFile