From 8dcf8972f8ec10764df8231e014ba48c42a75ead Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 18 Feb 2014 17:11:35 +0400 Subject: [PATCH] Fix copy/paste error and some minor changes --- src/GEOMImpl/GEOMImpl_IPartition.hxx | 6 +++--- src/GEOMImpl/GEOMImpl_IShapesOperations.cxx | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) 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 -- 2.39.2