#include <gp_Lin.hxx>
#include <gp_Circ.hxx>
-#include <Basics_OCCTVersion.hxx>
-
BEGIN_NAMESPACE_HEXA
static bool db = on_debug (); // == getenv ("HEXA_DB") > 0
gp_Trsf transfo;
double a11,a12,a13,a14, a21,a22,a23,a24, a31,a32,a33,a34;
matrice.getCoeff (a11,a12,a13,a14, a21,a22,a23,a24, a31,a32,a33,a34);
-#if OCC_VERSION_LARGE > 0x06070100
transfo.SetValues (a11,a12,a13,a14, a21,a22,a23,a24, a31,a32,a33,a34);
-#else
- transfo.SetValues (a11,a12,a13,a14, a21,a22,a23,a24, a31,a32,a33,a34,
- Epsil2, Epsil2);
-#endif
TopoDS_Shape shape_orig = shape->getShape ();
BRepBuilderAPI_Transform builder (shape_orig, transfo, Standard_True);
#include <vtkActorCollection.h>
#include <vtkUnstructuredGrid.h>
-#include <Basics_OCCTVersion.hxx>
-
#include <SUIT_Session.h>
#include <SalomeApp_Study.h>
Handle(SelectMgr_Selection) sel = theObj->Selection( m );
for ( sel->Init(); sel->More(); sel->Next() ) {
-#if OCC_VERSION_LARGE > 0x06080100
const Handle(SelectMgr_SensitiveEntity) aHSenEntity = sel->Sensitive();
if ( aHSenEntity.IsNull() )
continue;
Handle(SelectBasics_SensitiveEntity) entity = aHSenEntity->BaseSensitive();
-#else
- Handle(SelectBasics_SensitiveEntity) entity = sel->Sensitive();
-#endif
if ( entity.IsNull() )
continue;