-// Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
#include <Standard_Stream.hxx>
//Get the reference point
int ind = 0;
int aLen = thePoints.length();
- list<Handle(GEOM_Object)> aPoints;
+ std::list<Handle(GEOM_Object)> aPoints;
for (; ind < aLen; ind++) {
Handle(GEOM_Object) aPnt = GetObjectImpl(thePoints[ind]);
if (aPnt.IsNull()) return aGEOMObject._retn();
//Get the reference point
int ind = 0;
int aLen = thePoints.length();
- list<Handle(GEOM_Object)> aPoints;
+ std::list<Handle(GEOM_Object)> aPoints;
for (; ind < aLen; ind++) {
Handle(GEOM_Object) aPnt = GetObjectImpl(thePoints[ind]);
if (aPnt.IsNull()) return aGEOMObject._retn();
*/
//=============================================================================
GEOM::GEOM_Object_ptr GEOM_ICurvesOperations_i::MakeSplineInterpolation
- (const GEOM::ListOfGO& thePoints)
+ (const GEOM::ListOfGO& thePoints,
+ CORBA::Boolean theIsClosed)
{
GEOM::GEOM_Object_var aGEOMObject;
//Get the reference point
int ind = 0;
int aLen = thePoints.length();
- list<Handle(GEOM_Object)> aPoints;
+ std::list<Handle(GEOM_Object)> aPoints;
for (; ind < aLen; ind++) {
Handle(GEOM_Object) aPnt = GetObjectImpl(thePoints[ind]);
if (aPnt.IsNull()) return aGEOMObject._retn();
// Make Polyline
Handle(GEOM_Object) anObject =
- GetOperations()->MakeSplineInterpolation(aPoints);
+ GetOperations()->MakeSplineInterpolation(aPoints, theIsClosed);
if (!GetOperations()->IsDone() || anObject.IsNull())
return aGEOMObject._retn();
int ind = 0;
int aLen = theWorkingPlane.length();
- list<double> aWorkingPlane;
+ std::list<double> aWorkingPlane;
for (; ind < aLen; ind++)
aWorkingPlane.push_back(theWorkingPlane[ind]);
int ind = 0;
int aLen = theCoordinates.length();
- list<double> aCoords;
+ std::list<double> aCoords;
for (; ind < aLen; ind++)
aCoords.push_back(theCoordinates[ind]);