Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Data Structures
Convert_CircleToBSplineCurve.hxx File Reference
#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Macro.hxx>
#include <Convert_ConicToBSplineCurve.hxx>
#include <Standard_Real.hxx>

Data Structures

class  Convert_CircleToBSplineCurve
 
This algorithm converts a circle into a rational B-spline curve. <br>

The circle is a Circ2d from package gp and its parametrization is :
P (U) = Loc + R * (Cos(U) * Xdir + Sin(U) * YDir) where Loc is the
center of the circle Xdir and Ydir are the normalized directions
of the local cartesian coordinate system of the circle.
The parametrization range for the circle is U [0, 2Pi].

Warnings :
The parametrization range for the B-spline curve is not [0, 2Pi].

KeyWords :
Convert, Circle, BSplineCurve, 2D .
More...