Fix copy/paste error and some minor changes

This commit is contained in:
eap 2014-02-18 17:11:35 +04:00
parent 383c7fe63a
commit 8dcf8972f8
2 changed files with 7 additions and 7 deletions

View File

@ -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:

View File

@ -42,7 +42,7 @@
#include "GEOMImpl_Block6Explorer.hxx"
#include "GEOMImpl_IHealingOperations.hxx"
#include <GEOMImpl_Gen.hxx>
#include "GEOMImpl_Gen.hxx"
#include "GEOM_Function.hxx"
#include "GEOM_ISubShape.hxx"
@ -63,9 +63,9 @@
#include <Basics_OCCTVersion.hxx>
#include "utilities.h"
#include "OpUtil.hxx"
#include "Utils_ExceptHandlers.hxx"
#include <utilities.h>
#include <OpUtil.hxx>
#include <Utils_ExceptHandlers.hxx>
#include <TFunction_DriverTable.hxx>
#include <TFunction_Driver.hxx>