![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Converts curve2d to analytical form with given precision or simplify curve2d. More...
#include <ShapeCustom_Curve2d.hxx>
Static Public Member Functions | |
| static bool | IsLinear (const NCollection_Array1< gp_Pnt2d > &thePoles, const double theTolerance, double &theDeviation) |
| Check if poleses is in the plane with given precision Returns false if no. | |
| static occ::handle< Geom2d_Line > | ConvertToLine2d (const occ::handle< Geom2d_Curve > &theCurve, const double theFirstIn, const double theLastIn, const double theTolerance, double &theNewFirst, double &theNewLast, double &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. | |
| static bool | SimplifyBSpline2d (occ::handle< Geom2d_BSplineCurve > &theBSpline2d, const double 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. | |
Converts curve2d to analytical form with given precision or simplify 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.