|
Open CASCADE Technology
6.7.1
|
Converts curve2d to analytical form with given
precision or simpify curve2d.
More...
#include <ShapeCustom_Curve2d.hxx>
Static Public Member Functions | |
| static Standard_Boolean | IsLinear (const TColgp_Array1OfPnt2d &thePoles, const Standard_Real theTolerance, Standard_Real &theDeviation) |
| Check if poleses is in the plane with given precision Returns false if no. More... | |
| static Handle_Geom2d_Line | ConvertToLine2d (const Handle< Geom2d_Curve > &theCurve, const Standard_Real theFirstIn, const Standard_Real theLastIn, const Standard_Real theTolerance, Standard_Real &theNewFirst, Standard_Real &theNewLast, Standard_Real &theDeviation) |
| Try to convert BSpline2d or Bezier2d to line 2d only if it is linear. Recalculate first and last parameters. Returns line2d or null curve2d. More... | |
| static Standard_Boolean | SimplifyBSpline2d (Handle< Geom2d_BSplineCurve > &theBSpline2d, const Standard_Real theTolerance) |
| Try to remove knots from bspline where local derivatives are the same. Remove knots with given precision. Returns false if Bsplien was not modified More... | |
Converts curve2d to analytical form with given
precision or simpify curve2d.
|
static |
Try to convert BSpline2d or Bezier2d to line 2d
only if it is linear. Recalculate first and last parameters.
Returns line2d or null curve2d.
|
static |
Check if poleses is in the plane with given precision
Returns false if no.
|
static |
Try to remove knots from bspline where local derivatives are the same.
Remove knots with given precision.
Returns false if Bsplien was not modified
1.8.5