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
Issue #2998: Add help description for automatic creation of constraints
[modules/shaper.git]
/
src
/
GeomAPI
/
GeomAPI_Curve.h
diff --git
a/src/GeomAPI/GeomAPI_Curve.h
b/src/GeomAPI/GeomAPI_Curve.h
index 30b9bd99840b9ebae2cc9637b2f0a055b08e4fd2..3922217f1deb3c0ac52eccabdd75048c6eb35b3b 100644
(file)
--- a/
src/GeomAPI/GeomAPI_Curve.h
+++ b/
src/GeomAPI/GeomAPI_Curve.h
@@
-57,13
+57,17
@@
class GeomAPI_Curve : public GeomAPI_Interface
GEOMAPI_EXPORT
virtual bool isCircle() const;
GEOMAPI_EXPORT
virtual bool isCircle() const;
+ /// Returns whether the curve is elliptic
+ GEOMAPI_EXPORT
+ virtual bool isEllipse() const;
+
/// Returns start parameter of the curve
GEOMAPI_EXPORT
/// Returns start parameter of the curve
GEOMAPI_EXPORT
- double startParam()
const { return myStart; }
+ double startParam()
;
/// Returns end parameter of the curve
GEOMAPI_EXPORT
/// Returns end parameter of the curve
GEOMAPI_EXPORT
- double endParam()
const { return myEnd; }
+ double endParam()
;
/// Returns \c true if the curve is trimmed
GEOMAPI_EXPORT
/// Returns \c true if the curve is trimmed
GEOMAPI_EXPORT
@@
-78,6
+82,10
@@
class GeomAPI_Curve : public GeomAPI_Interface
GEOMAPI_EXPORT
std::shared_ptr<GeomAPI_Pnt> getPoint(double theParam);
GEOMAPI_EXPORT
std::shared_ptr<GeomAPI_Pnt> getPoint(double theParam);
+ /// Project point on curve
+ GEOMAPI_EXPORT const std::shared_ptr<GeomAPI_Pnt> project(
+ const std::shared_ptr<GeomAPI_Pnt>& thePoint) const;
+
public:
/// \brief Compare addresses of curves
class Comparator
public:
/// \brief Compare addresses of curves
class Comparator