From: eap Date: Tue, 18 Feb 2014 13:11:35 +0000 (+0400) Subject: Fix copy/paste error and some minor changes X-Git-Tag: V7_4_0a1~25 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8dcf8972f8ec10764df8231e014ba48c42a75ead;p=modules%2Fgeom.git Fix copy/paste error and some minor changes --- diff --git a/src/GEOMImpl/GEOMImpl_IPartition.hxx b/src/GEOMImpl/GEOMImpl_IPartition.hxx index d1267634e..105ff257d 100644 --- a/src/GEOMImpl/GEOMImpl_IPartition.hxx +++ b/src/GEOMImpl/GEOMImpl_IPartition.hxx @@ -39,7 +39,7 @@ #define PART_ARG_PLANE 8 #define PART_ARG_KEEP_NONLIMIT_SHAPES 9 -#define BOOL_ARG_CHECK_SELF_INTERSECTION 10 +#define PART_ARG_CHECK_SELF_INTERSECTION 10 class GEOMImpl_IPartition { @@ -68,7 +68,7 @@ class GEOMImpl_IPartition { _func->SetIntegerArray(PART_ARG_MATERIALS, theMaterials); } void SetCheckSelfIntersection (Standard_Boolean theFlag) - { _func->SetInteger(BOOL_ARG_CHECK_SELF_INTERSECTION, theFlag ? 1 : 0); } + { _func->SetInteger(PART_ARG_CHECK_SELF_INTERSECTION, theFlag ? 1 : 0); } int GetLimit() { return _func->GetInteger(PART_ARG_LIMIT); } @@ -89,7 +89,7 @@ class GEOMImpl_IPartition Handle(GEOM_Function) GetPlane() { return _func->GetReference(PART_ARG_PLANE); } Standard_Boolean GetCheckSelfIntersection() - { return (_func->GetInteger(BOOL_ARG_CHECK_SELF_INTERSECTION) != 0); } + { return (_func->GetInteger(PART_ARG_CHECK_SELF_INTERSECTION) != 0); } private: diff --git a/src/GEOMImpl/GEOMImpl_IShapesOperations.cxx b/src/GEOMImpl/GEOMImpl_IShapesOperations.cxx index 05b67b46e..6eae2bda6 100644 --- a/src/GEOMImpl/GEOMImpl_IShapesOperations.cxx +++ b/src/GEOMImpl/GEOMImpl_IShapesOperations.cxx @@ -42,7 +42,7 @@ #include "GEOMImpl_Block6Explorer.hxx" #include "GEOMImpl_IHealingOperations.hxx" -#include +#include "GEOMImpl_Gen.hxx" #include "GEOM_Function.hxx" #include "GEOM_ISubShape.hxx" @@ -63,9 +63,9 @@ #include -#include "utilities.h" -#include "OpUtil.hxx" -#include "Utils_ExceptHandlers.hxx" +#include +#include +#include #include #include