Open CASCADE Technology  7.3.0
Public Member Functions

ShapeCustom_Curve Class Reference

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_CurveConvertToPeriodic (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...
 

Detailed Description

Converts BSpline curve to periodic.

Constructor & Destructor Documentation

◆ ShapeCustom_Curve() [1/2]

ShapeCustom_Curve::ShapeCustom_Curve ( )

◆ ShapeCustom_Curve() [2/2]

ShapeCustom_Curve::ShapeCustom_Curve ( const Handle< Geom_Curve > &  C)

Member Function Documentation

◆ ConvertToPeriodic()

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.

◆ Init()

void ShapeCustom_Curve::Init ( const Handle< Geom_Curve > &  C)

The documentation for this class was generated from the following file: