To set geometry modelling. More...

#include <GeoModel.h>

Public Member Functions

 GeoModel ()
 Default constructor.
 
 GeoModel (const Vect< real_t > &b, Vect< real_t > &p)
 Constructor with given polygon points and solution vector.
 
 GeoModel (const Vect< real_t > &b, const Vect< real_t > &h, Vect< real_t > &p)
 Constructor with given data for nurbs.
 
 ~GeoModel ()
 Destructor.
 
void setData (const Vect< real_t > &b, Vect< real_t > &p)
 Set vector data.
 
void setData (const Vect< real_t > &b, const Vect< real_t > &h, Vect< real_t > &p)
 Set vector data for Nurbs.
 
void setBSplinePar (size_t n, size_t c, size_t np)
 Set parameters for BSpline modelling.
 
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.
 
void setBezierPar (size_t n, size_t nc)
 Set parameters for BSpline modelling.
 
void setBezierSurfacePar (size_t m, size_t n, size_t npu, size_t npw)
 Set parameters for BSpline modelling.
 
void setNurbsPar (size_t n, size_t c, size_t np)
 Set parameters for Nurbs modelling.
 
void BSpline ()
 Run bspline modelling.
 
void BSplineSurface ()
 Run surface bspline modelling.
 
void Bezier ()
 Run Bezier modelling.
 
void BezierSurface ()
 Run Surface Bezier modelling.
 
void Nurbs ()
 Run Nurbs modelling.
 

Detailed Description

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,