]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_PointArrayWrapper.h
Salome HOME
Issue #17347: B-Splines in Sketcher
[modules/shaper.git] / src / SketchSolver / PlaneGCSSolver / PlaneGCSSolver_PointArrayWrapper.h
index 8752b79c9c575156dd7d394af999e50db07463fc..0524be273904dcb16faca532af82a46686603773 100644 (file)
@@ -38,10 +38,20 @@ public:
   /// \breif Size of array
   int size() const { return (int)myPoints.size(); }
 
+  /// \brief Return array of points
+  const std::vector<PointWrapperPtr>& array() const { return myPoints; }
+  /// \breif Set points
+  void setArray(const std::vector<PointWrapperPtr>& thePoints) { myPoints = thePoints; }
+
   /// \brief Return type of current entity
   virtual SketchSolver_EntityType type() const
   { return ENTITY_POINT_ARRAY; }
 
+protected:
+  /// \brief Update entity by the values of theAttribute
+  /// \return \c true if any value of attribute is not equal to the stored in the entity
+  virtual bool update(std::shared_ptr<ModelAPI_Attribute> theAttribute);
+
 private:
   std::vector<PointWrapperPtr> myPoints;
 };