Open CASCADE Technology
7.4.0
|
Converts BSpline curve to periodic. More...
#include <ShapeCustom_Curve.hxx>
Public Member Functions | |
ShapeCustom_Curve () | |
ShapeCustom_Curve (const Handle< Geom_Curve > &C) | |
void | Init (const Handle< Geom_Curve > &C) |
Handle< Geom_Curve > | ConvertToPeriodic (const Standard_Boolean substitute, const Standard_Real preci=-1) |
Tries to convert the Curve to the Periodic form Returns the resulting curve Works only if the Curve is BSpline and is closed with Precision::Confusion() Else, or in case of failure, returns a Null Handle. More... | |
Converts BSpline curve to periodic.
ShapeCustom_Curve::ShapeCustom_Curve | ( | ) |
ShapeCustom_Curve::ShapeCustom_Curve | ( | const Handle< Geom_Curve > & | C | ) |
Handle< Geom_Curve > ShapeCustom_Curve::ConvertToPeriodic | ( | const Standard_Boolean | substitute, |
const Standard_Real | preci = -1 |
||
) |
Tries to convert the Curve to the Periodic form Returns the resulting curve Works only if the Curve is BSpline and is closed with Precision::Confusion() Else, or in case of failure, returns a Null Handle.
void ShapeCustom_Curve::Init | ( | const Handle< Geom_Curve > & | C | ) |