#include <CTiglConcatSurfaces.h>
Data Structures | |
| struct | SegmentsSize |
Public Member Functions | |
| TIGL_EXPORT | CTiglConcatSurfaces (const std::vector< Handle(Geom_BSplineSurface)> &surfaces, const std::vector< double > &surfaceParams, ConcatDir dir) |
| Concatenes multiple surfaces along the given directions. | |
| TIGL_EXPORT | Handle (Geom_BSplineSurface) Surface() const |
| Returns the final surface. | |
| TIGL_EXPORT void | SetMakeKnotsUniformEnabled (unsigned int nUSeg, unsigned int nVSeg) |
| This allows the algorithm to make the knot sequence of each input surface uniform. | |
Private Attributes | |
| boost::optional< SegmentsSize > | m_approxSegments |
| ConcatDir | m_dir |
| std::vector< double > | m_params |
| std::vector< Handle(Geom_BSplineSurface)> | m_surfaces |
| TIGL_EXPORT tigl::CTiglConcatSurfaces::CTiglConcatSurfaces | ( | const std::vector< Handle(Geom_BSplineSurface)> & | surfaces, |
| const std::vector< double > & | surfaceParams, | ||
| ConcatDir | dir ) |
Concatenes multiple surfaces along the given directions.
Note: The surfaces must follow in the correct order in the specified direction
| surfaces | The surfaces to concatenate |
| surfaceParams | A vector of parameters that define the parameters at the final surface, at which the input surfaces are stitched. |
| dir | Direction to concatenate |
| TIGL_EXPORT tigl::CTiglConcatSurfaces::Handle | ( | Geom_BSplineSurface | ) | const |
Returns the final surface.
| TIGL_EXPORT void tigl::CTiglConcatSurfaces::SetMakeKnotsUniformEnabled | ( | unsigned int | nUSeg, |
| unsigned int | nVSeg ) |
This allows the algorithm to make the knot sequence of each input surface uniform.
This might be useful, if the input surfaces have very different knot distributions leaving a resulting in a bad balanced knot vector of the final surfaces. This approximation comes however with an error.
| nUSeg | Number of knot segments in u dir to approximate |
| nVSeg | Number of knot segments in v dir to approximate |
|
private |
|
private |
|
private |
|
private |