mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-11 16:19:17 +05:00
refs #589: integration of new interpolation algo to HYDRO
This commit is contained in:
parent
c3778fc96e
commit
34c4dd8f29
@ -195,7 +195,7 @@ gp_Pnt CurveCreator_Utils::ConvertClickToPoint( int x, int y, Handle(V3d_View) a
|
||||
// if point P is followed by a point B but is not preceded by any point then
|
||||
// the tangent vector is equal to B - P.
|
||||
//=======================================================================
|
||||
static bool constructBSpline(
|
||||
bool CurveCreator_Utils::constructBSpline(
|
||||
const Handle(TColgp_HArray1OfPnt)& thePoints,
|
||||
const Standard_Boolean theIsClosed,
|
||||
Handle(Geom_BSplineCurve)& theBSpline)
|
||||
|
@ -30,6 +30,7 @@
|
||||
#include <Geom_Curve.hxx>
|
||||
#include <TopoDS_Shape.hxx>
|
||||
#include <TColgp_HArray1OfPnt.hxx>
|
||||
#include <Geom_BSplineCurve.hxx>
|
||||
|
||||
#include <list>
|
||||
#include <vector> // TODO: remove
|
||||
@ -132,6 +133,10 @@ public:
|
||||
gp_Pnt& thePoint, gp_Pnt& thePoint1,
|
||||
gp_Pnt& thePoint2 );
|
||||
|
||||
CURVECREATOR_EXPORT static bool constructBSpline( const Handle(TColgp_HArray1OfPnt)& thePoints,
|
||||
const Standard_Boolean theIsClosed,
|
||||
Handle(Geom_BSplineCurve)& theBSpline );
|
||||
|
||||
protected:
|
||||
/*
|
||||
* Returns whether the clicked point belong to the curve or has a very near projection
|
||||
|
Loading…
Reference in New Issue
Block a user