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
Merge remote-tracking branch 'remotes/origin/Filters_Development_2'
[modules/shaper.git]
/
src
/
SketchAPI
/
SketchAPI_Sketch.h
diff --git
a/src/SketchAPI/SketchAPI_Sketch.h
b/src/SketchAPI/SketchAPI_Sketch.h
index aa58dc89edab2ea9fe68955450764eaa9dacf1e6..8b3237f7f04df08e3cb8e3da1dbf4a4e49185f90 100644
(file)
--- a/
src/SketchAPI/SketchAPI_Sketch.h
+++ b/
src/SketchAPI/SketchAPI_Sketch.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 SRC_SKETCHAPI_SKETCHAPI_SKETCH_H_
//
#ifndef SRC_SKETCHAPI_SKETCHAPI_SKETCH_H_
@@
-99,6
+98,11
@@
public:
SKETCHAPI_EXPORT
void setPlane(const std::shared_ptr<GeomAPI_Ax3> & thePlane);
SKETCHAPI_EXPORT
void setPlane(const std::shared_ptr<GeomAPI_Ax3> & thePlane);
+ /// Change sketch plane
+ SKETCHAPI_EXPORT
+ void setPlane(const ModelHighAPI_Selection & thePlane,
+ bool theRemoveExternalDependency = false);
+
/// Set external
SKETCHAPI_EXPORT
void setExternal(const ModelHighAPI_Selection & theExternal);
/// Set external
SKETCHAPI_EXPORT
void setExternal(const ModelHighAPI_Selection & theExternal);
@@
-107,6
+111,10
@@
public:
SKETCHAPI_EXPORT
void setExternal(std::shared_ptr<ModelAPI_Object> thePlaneObject);
SKETCHAPI_EXPORT
void setExternal(std::shared_ptr<ModelAPI_Object> thePlaneObject);
+ /// List points not connected by constraints with other sketch entitites
+ SKETCHAPI_EXPORT
+ std::list< std::shared_ptr<SketchAPI_Point> > getFreePoints();
+
/// Add point
SKETCHAPI_EXPORT
std::shared_ptr<SketchAPI_Point> addPoint(
/// Add point
SKETCHAPI_EXPORT
std::shared_ptr<SketchAPI_Point> addPoint(