Salome HOME
projects
/
modules
/
geom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0021031: EDF 1646 GEOM: Modify Location leads to Position driver failed
[modules/geom.git]
/
src
/
GEOMImpl
/
GEOMImpl_IMeasure.hxx
diff --git
a/src/GEOMImpl/GEOMImpl_IMeasure.hxx
b/src/GEOMImpl/GEOMImpl_IMeasure.hxx
index c6c8ab74e263feb892a17204038e82158a942a45..c9e98b2c4fe1527e000f19e968b957deb86abc80 100644
(file)
--- a/
src/GEOMImpl/GEOMImpl_IMeasure.hxx
+++ b/
src/GEOMImpl/GEOMImpl_IMeasure.hxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-20
08
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-20
10
CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-19,6
+19,7
@@
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
+
// NOTE: This is an interface to a functions for the Measurement
//
#include "GEOM_Function.hxx"
// NOTE: This is an interface to a functions for the Measurement
//
#include "GEOM_Function.hxx"
@@
-30,7
+31,8
@@
class GEOMImpl_IMeasure
{
enum {
MEASURE_ARG_BASE = 1,
{
enum {
MEASURE_ARG_BASE = 1,
- MEASURE_ARG_POINT = 2
+ MEASURE_ARG_POINT = 2,
+ MEASURE_INDEX = 3
};
public:
};
public:
@@
-45,6
+47,10
@@
class GEOMImpl_IMeasure
{ _func->SetReference(MEASURE_ARG_POINT, thePnt); }
Handle(GEOM_Function) GetPoint() { return _func->GetReference(MEASURE_ARG_POINT); }
{ _func->SetReference(MEASURE_ARG_POINT, thePnt); }
Handle(GEOM_Function) GetPoint() { return _func->GetReference(MEASURE_ARG_POINT); }
+
+ void SetIndex(int theIndex) { _func->SetInteger(MEASURE_INDEX, theIndex); }
+
+ int GetIndex() { return _func->GetInteger(MEASURE_INDEX); }
private:
private: