#include <ShapeCustom_Curve2d.hxx>
Public Member Functions | |
void * | operator new (size_t, void *anAddress) |
void * | operator new (size_t size) |
void | operator delete (void *anAddress) |
Static Public Member Functions | |
static Standard_EXPORT 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. . | |
static Standard_EXPORT 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. . | |
static Standard_EXPORT 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 . |
|
|
|
|
|
|
|
|
|
|
|
|