Nurbs object. More...
Nurbs object.
| GO2SNurbs::GO2SNurbs | ( | Array< GO2SXYZ > | pts, |
| Boolean | reorder = false, | ||
| Number | close = -1 ) |
| GO2SEnum::GO2SError GO2SNurbs::SetFromPoints | ( | Array< GO2SXYZ > | pts, |
| Boolean | reorder = false, | ||
| Number | close = -1 ) |
Compute a nurbs passing by all given points
| [in] | pts | the points |
| [in] | reorder | if true, points will be reodered automatically |
| [in] | close | if the points represent a close nurbs or not - -1 does not know if the list of points represents a closed or open curve
|
| GO2SEnum::GO2SError GO2SNurbs::SetFromPointsWClose | ( | Array< GO2SXYZ > | pts, |
| Boolean | close ) |
Compute a nurbs passing by all given points, with close option
| [in] | pts | the points supposed to be ordered |
| [in] | close | do we close the nurbs |
| GO2SEnum::GO2SError GO2SNurbs::SetFromPointsWTangency | ( | Array< GO2SXYZ > | pts, |
| Boolean | tgStart, | ||
| Boolean | tgEnd ) |
Compute a nurbs passing by all given points, with tangency option
| Array< GO2SSimpleGeometry > GO2SNurbs::ToArcAndSegment | ( | Number | tol, |
| Number | rmax ) |
Interpolate the curve by arcs and segments
| [in] | tol | tolerance for interpolation |
| [in] | rmax | maximum radius of arcs. |