Open CASCADE Technology
6.5.4
|
Converts BSpline curve to periodic
#include <ShapeCustom_Curve.hxx>
Public Member Functions | |
DEFINE_STANDARD_ALLOC | 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 |
Handle_Geom_Curve ShapeCustom_Curve::ConvertToPeriodic | ( | const Standard_Boolean | substitute, |
const Standard_Real | preci = -1 |
||
) |
void ShapeCustom_Curve::Init | ( | const Handle< Geom_Curve > & | C | ) |