#include <GeomAPI_PointsToBSpline.hxx>
Public Member Functions | |
void * | operator new (size_t, void *anAddress) |
void * | operator new (size_t size) |
void | operator delete (void *anAddress) |
Standard_EXPORT | GeomAPI_PointsToBSpline () |
Constructs an empty approximation algorithm. Use an Init function to define and build the BSpline curve. . | |
Standard_EXPORT | GeomAPI_PointsToBSpline (const TColgp_Array1OfPnt &Points, const Standard_Integer DegMin=3, const Standard_Integer DegMax=8, const GeomAbs_Shape Continuity=GeomAbs_C2, const Standard_Real Tol3D=1.0e-3) |
Approximate a BSpline Curve passing through an array of Point. The resulting BSpline will have the following properties: 1- his degree will be in the range [Degmin,Degmax] 2- his continuity will be at least <continuity> 3- the distance from the point <points> to the BSpline will be lower to Tol3D . | |
Standard_EXPORT | GeomAPI_PointsToBSpline (const TColgp_Array1OfPnt &Points, const TColStd_Array1OfReal &Parameters, const Standard_Integer DegMin=3, const Standard_Integer DegMax=8, const GeomAbs_Shape Continuity=GeomAbs_C2, const Standard_Real Tol3D=1.0e-3) |
Approximate a BSpline Curve passing through an array of Point, which parameters are given by the array <parameters>. The resulting BSpline will have the following properties: 1- his degree will be in the range [Degmin,Degmax] 2- his continuity will be at least <continuity> 3- the distance from the point <points> to the BSpline will be lower to Tol3D . | |
Standard_EXPORT void | Init (const TColgp_Array1OfPnt &Points, const Standard_Integer DegMin=3, const Standard_Integer DegMax=8, const GeomAbs_Shape Continuity=GeomAbs_C2, const Standard_Real Tol3D=1.0e-3) |
Approximate a BSpline Curve passing through an array of Point. The resulting BSpline will have the following properties: 1- his degree will be in the range [Degmin,Degmax] 2- his continuity will be at least <continuity> 3- the distance from the point <points> to the BSpline will be lower to Tol3D . | |
Standard_EXPORT void | Init (const TColgp_Array1OfPnt &Points, const TColStd_Array1OfReal &Parameters, const Standard_Integer DegMin=3, const Standard_Integer DegMax=8, const GeomAbs_Shape Continuity=GeomAbs_C2, const Standard_Real Tol3D=1.0e-3) |
Approximate a BSpline Curve passing through an array of Point, which parameters are given by the array <parameters>. The resulting BSpline will have the following properties: 1- his degree will be in the range [Degmin,Degmax] 2- his continuity will be at least <continuity> 3- the distance from the point <points> to the BSpline will be lower to Tol3D . | |
Standard_EXPORT const Handle_Geom_BSplineCurve & | Curve () const |
Returns the computed BSpline curve. Raises StdFail_NotDone if the curve is not built. . | |
Standard_EXPORT operator Handle( | Geom_BSplineCurve () const ) |
Private Attributes | |
Standard_Boolean | myIsDone |
Handle_Geom_BSplineCurve | myCurve |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|