mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-12 01:30:36 +05:00
Fix copy/paste error and some minor changes
This commit is contained in:
parent
383c7fe63a
commit
8dcf8972f8
@ -39,7 +39,7 @@
|
|||||||
#define PART_ARG_PLANE 8
|
#define PART_ARG_PLANE 8
|
||||||
|
|
||||||
#define PART_ARG_KEEP_NONLIMIT_SHAPES 9
|
#define PART_ARG_KEEP_NONLIMIT_SHAPES 9
|
||||||
#define BOOL_ARG_CHECK_SELF_INTERSECTION 10
|
#define PART_ARG_CHECK_SELF_INTERSECTION 10
|
||||||
|
|
||||||
class GEOMImpl_IPartition
|
class GEOMImpl_IPartition
|
||||||
{
|
{
|
||||||
@ -68,7 +68,7 @@ class GEOMImpl_IPartition
|
|||||||
{ _func->SetIntegerArray(PART_ARG_MATERIALS, theMaterials); }
|
{ _func->SetIntegerArray(PART_ARG_MATERIALS, theMaterials); }
|
||||||
|
|
||||||
void SetCheckSelfIntersection (Standard_Boolean theFlag)
|
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); }
|
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); }
|
Handle(GEOM_Function) GetPlane() { return _func->GetReference(PART_ARG_PLANE); }
|
||||||
|
|
||||||
Standard_Boolean GetCheckSelfIntersection()
|
Standard_Boolean GetCheckSelfIntersection()
|
||||||
{ return (_func->GetInteger(BOOL_ARG_CHECK_SELF_INTERSECTION) != 0); }
|
{ return (_func->GetInteger(PART_ARG_CHECK_SELF_INTERSECTION) != 0); }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
#include "GEOMImpl_Block6Explorer.hxx"
|
#include "GEOMImpl_Block6Explorer.hxx"
|
||||||
#include "GEOMImpl_IHealingOperations.hxx"
|
#include "GEOMImpl_IHealingOperations.hxx"
|
||||||
|
|
||||||
#include <GEOMImpl_Gen.hxx>
|
#include "GEOMImpl_Gen.hxx"
|
||||||
|
|
||||||
#include "GEOM_Function.hxx"
|
#include "GEOM_Function.hxx"
|
||||||
#include "GEOM_ISubShape.hxx"
|
#include "GEOM_ISubShape.hxx"
|
||||||
@ -63,9 +63,9 @@
|
|||||||
|
|
||||||
#include <Basics_OCCTVersion.hxx>
|
#include <Basics_OCCTVersion.hxx>
|
||||||
|
|
||||||
#include "utilities.h"
|
#include <utilities.h>
|
||||||
#include "OpUtil.hxx"
|
#include <OpUtil.hxx>
|
||||||
#include "Utils_ExceptHandlers.hxx"
|
#include <Utils_ExceptHandlers.hxx>
|
||||||
|
|
||||||
#include <TFunction_DriverTable.hxx>
|
#include <TFunction_DriverTable.hxx>
|
||||||
#include <TFunction_Driver.hxx>
|
#include <TFunction_Driver.hxx>
|
||||||
|
Loading…
Reference in New Issue
Block a user