This class converts a TopoDS_Wire objects to a bspline curve by converting all edges to b-spline concatenating all splines to a resulting b-spline.
More...
#include <CWireToCurve.h>
This class converts a TopoDS_Wire objects to a bspline curve by converting all edges to b-spline concatenating all splines to a resulting b-spline.
◆ CWireToCurve()
TIGL_EXPORT tigl::CWireToCurve::CWireToCurve |
( |
const TopoDS_Wire & |
, |
|
|
bool |
parByLength = true , |
|
|
double |
tolerance = 1e-6 |
|
) |
| |
CWireToCurve constructor.
- Parameters
-
parByLength | If true, the resulting B-Spline parameter sub-ranges will be proportional to the sub-curve lengths. I.e. a long edge will have a larger parameter range than a short one. If false, the sub-parameter ranges will be the same as before, i.e. a curve with a large parameter range will result in a large range in the resulting curve. |
tolerance | Maximum distance of the connection point of two edges. If distance is larger than tolerance, the class returns a NULL Handle. |
◆ Geom_BSplineCurve()
Returns the resulting spline Returns NULL Handle in case of an error.
◆ Handle()
◆ _parByLength
bool tigl::CWireToCurve::_parByLength |
|
private |
◆ _tolerance
double tigl::CWireToCurve::_tolerance |
|
private |
◆ _wire
TopoDS_Wire tigl::CWireToCurve::_wire |
|
private |
The documentation for this class was generated from the following file: