|
C3D Toolkit
Kernel - 118069, Vision - 2.16.7.1844
|
Class for fitting surfaces to a polygonal object. More...
#include <surface_fitting.h>
Public Member Functions | |
| virtual | ~MbSurfaceFitter () |
| Destructor. | |
| virtual MbResultType | FitSurface (const MbSurfaceFitToGridParameters ¶ms, MbSurfaceFitToGridResults &results)=0 |
| Fit a surface. | |
Static Public Member Functions | |
| static MbSurfaceFitter * | Create (const MbGrid &grid, const c3d::IndicesVector *indices=nullptr) |
| Create an object based on a triangulation. | |
| static MbSurfaceFitter * | Create (const MbPolymeshTopo &mesh) |
| Create an object based on a topology of a polygonal object. | |
| static MbSurfaceFitter * | Create (const MbPolymeshTopo &mesh, const c3d::IndicesVector &indices) |
| Create an object based on given facets of a polygonal object. | |
| static MbSurfaceFitter * | Create (const MbPolymeshTopo &mesh, size_t iRegion) |
| Create an object based on a region of a polygonal object. | |
Protected Member Functions | |
| MbSurfaceFitter () | |
| Constructor. | |
Class for fitting surfaces to a polygonal object.
Class for fitting surfaces to a polygonal object. Approximates a given polygonal object or its segment to a surface of a given type. There can be fit an analitical surface (plane, cylinder, sphere, cone or torus), a swept surface (revolution or extrision) and a NURBS surface.\ During automatic fitting the type of an analitical surface is defined automatically. When fitting to the part of a polygonal object selected triangles/facets or regions have to be defined while creating the class instance.