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
Fix for issue #1049
[modules/shaper.git]
/
src
/
GeomAlgoAPI
/
GeomAlgoAPI_PointBuilder.h
diff --git
a/src/GeomAlgoAPI/GeomAlgoAPI_PointBuilder.h
b/src/GeomAlgoAPI/GeomAlgoAPI_PointBuilder.h
index 893c70c977fa77c999d15b11215584169ccf3f72..cff50ee0561cdb35becd322c685e9b99f907e5f7 100644
(file)
--- a/
src/GeomAlgoAPI/GeomAlgoAPI_PointBuilder.h
+++ b/
src/GeomAlgoAPI/GeomAlgoAPI_PointBuilder.h
@@
-24,6
+24,10
@@
class GEOMALGOAPI_EXPORT GeomAlgoAPI_PointBuilder
/// Creates a shape by point
static std::shared_ptr<GeomAPI_Shape> point(std::shared_ptr<GeomAPI_Pnt> thePoint);
/// Creates a shape by point
static std::shared_ptr<GeomAPI_Shape> point(std::shared_ptr<GeomAPI_Pnt> thePoint);
+ /// Creates a shape by point coordinates
+ static std::shared_ptr<GeomAPI_Shape> point(
+ const double theX, const double theY, const double theZ);
+
/// Return point by shape vertex
static std::shared_ptr<GeomAPI_Pnt> point(std::shared_ptr<GeomAPI_Shape> theVertex);
};
/// Return point by shape vertex
static std::shared_ptr<GeomAPI_Pnt> point(std::shared_ptr<GeomAPI_Shape> theVertex);
};