Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update help for ellipse and elliptic arc.
[modules/shaper.git]
/
src
/
SketchPlugin
/
SketchPlugin_ConstraintLength.h
diff --git
a/src/SketchPlugin/SketchPlugin_ConstraintLength.h
b/src/SketchPlugin/SketchPlugin_ConstraintLength.h
index 50e9ebb9b5c10654b0b39d3c11b89a552cd20ad4..4f86939a1abfad6aaea3c6c7261ba75716495e16 100644
(file)
--- a/
src/SketchPlugin/SketchPlugin_ConstraintLength.h
+++ b/
src/SketchPlugin/SketchPlugin_ConstraintLength.h
@@
-1,4
+1,4
@@
-// Copyright (C) 2014-201
7
CEA/DEN, EDF R&D
+// Copyright (C) 2014-201
9
CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-12,10
+12,9
@@
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA
//
//
-// See http://www.salome-platform.org/ or
-// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
#ifndef SketchPlugin_ConstraintLength_H_
//
#ifndef SketchPlugin_ConstraintLength_H_
@@
-49,6
+48,7
@@
class SketchPlugin_ConstraintLength : public SketchPlugin_ConstraintBase
static const std::string MY_CONSTRAINT_LENGTH_ID("SketchConstraintLength");
return MY_CONSTRAINT_LENGTH_ID;
}
static const std::string MY_CONSTRAINT_LENGTH_ID("SketchConstraintLength");
return MY_CONSTRAINT_LENGTH_ID;
}
+
/// \brief Returns the kind of a feature
SKETCHPLUGIN_EXPORT virtual const std::string& getKind()
{
/// \brief Returns the kind of a feature
SKETCHPLUGIN_EXPORT virtual const std::string& getKind()
{
@@
-56,6
+56,13
@@
class SketchPlugin_ConstraintLength : public SketchPlugin_ConstraintBase
return MY_KIND;
}
return MY_KIND;
}
+ /// attribute name of dimension location type
+ inline static const std::string& LOCATION_TYPE_ID()
+ {
+ static const std::string MY_LOCATION_TYPE_ID("LocationType");
+ return MY_LOCATION_TYPE_ID;
+ }
+
/// \brief Creates a new part document if needed
SKETCHPLUGIN_EXPORT virtual void execute();
/// \brief Creates a new part document if needed
SKETCHPLUGIN_EXPORT virtual void execute();