20 #ifndef GeomAlgoAPI_CurveBuilder_H_
21 #define GeomAlgoAPI_CurveBuilder_H_
23 #include "GeomAlgoAPI.h"
25 #include <GeomAPI_Pnt.h>
26 #include <GeomAPI_Edge.h>
42 GEOMALGOAPI_EXPORT
static GeomEdgePtr
edge(
const std::list<GeomPointPtr>& thePoints,
43 const bool thePeriodic,
44 const bool theIsToReorder,
45 const GeomDirPtr& theStartTangent,
46 const GeomDirPtr& theEndTangent);
53 GEOMALGOAPI_EXPORT
static GeomEdgePtr
approximate(
const std::list<GeomPointPtr>& thePoints,
54 const bool thePeriodic,
55 const double thePrecision);
58 GEOMALGOAPI_EXPORT
static void reorderPoints(std::list<GeomPointPtr>& thePoints);
Allows to create a curve by the list of point.
Definition: GeomAlgoAPI_CurveBuilder.h:32
static GeomEdgePtr edge(const std::list< GeomPointPtr > &thePoints, const bool thePeriodic, const bool theIsToReorder, const GeomDirPtr &theStartTangent, const GeomDirPtr &theEndTangent)
Creates an interpolation curve from points.
Definition: GeomAlgoAPI_CurveBuilder.cpp:43
static void reorderPoints(std::list< GeomPointPtr > &thePoints)
Reorder the list of points to get a polyline of minimal length.
Definition: GeomAlgoAPI_CurveBuilder.cpp:169
static GeomEdgePtr approximate(const std::list< GeomPointPtr > &thePoints, const bool thePeriodic, const double thePrecision)
Approximate the given points by a curve.
Definition: GeomAlgoAPI_CurveBuilder.cpp:100