To set geometry modelling. More...
Public Member Functions | |
GeoModel () | |
Default constructor. More... | |
GeoModel (const Vect< real_t > &b, Vect< real_t > &p) | |
Constructor with given polygon points and solution vector. More... | |
GeoModel (const Vect< real_t > &b, const Vect< real_t > &h, Vect< real_t > &p) | |
Constructor with given data for nurbs. More... | |
~GeoModel () | |
Destructor. | |
void | setData (const Vect< real_t > &b, Vect< real_t > &p) |
Set vector data. More... | |
void | setData (const Vect< real_t > &b, const Vect< real_t > &h, Vect< real_t > &p) |
Set vector data for Nurbs. More... | |
void | setBSplinePar (size_t n, size_t c, size_t np) |
Set parameters for BSpline modelling. More... | |
void | setBSplineSurfacePar (size_t m, size_t n, size_t c, size_t d, size_t npu, size_t npw) |
Set parameters for BSplineS modelling. More... | |
void | setBezierPar (size_t n, size_t nc) |
Set parameters for BSpline modelling. More... | |
void | setBezierSurfacePar (size_t m, size_t n, size_t npu, size_t npw) |
Set parameters for BSpline modelling. More... | |
void | setNurbsPar (size_t n, size_t c, size_t np) |
Set parameters for Nurbs modelling. More... | |
void | BSpline () |
Run bspline modelling. More... | |
void | BSplineSurface () |
Run surface bspline modelling. More... | |
void | Bezier () |
Run Bezier modelling. More... | |
void | BezierSurface () |
Run Surface Bezier modelling. More... | |
void | Nurbs () |
Run Nurbs modelling. More... | |
To set geometry modelling.
This class enables using approximation methods to mathematically define a geometry.
The algorithms used in this class are largely inspired from the book: An Introduction to NURBS, by David F. Rogers. Copyright (C) 2000 David F. Rogers,