Open CASCADE Technology  6.9.0
Static Public Member Functions

Geom2dGcc_CurveToolGeo Class Reference

#include <Geom2dGcc_CurveToolGeo.hxx>

Static Public Member Functions

static GeomAbs_CurveType TheType (const Adaptor3d_OffsetCurve &C)
 
static gp_Lin2d Line (const Adaptor3d_OffsetCurve &C)
 Returns the Lin2d from gp corresponding to the curve C. This method is called only when TheType returns IntCurve_Lin. More...
 
static gp_Circ2d Circle (const Adaptor3d_OffsetCurve &C)
 Returns the Circ2d from gp corresponding to the curve C. This method is called only when TheType returns IntCurve_Cir. More...
 
static gp_Elips2d Ellipse (const Adaptor3d_OffsetCurve &C)
 Returns the Elips2d from gp corresponding to the curve C. This method is called only when TheType returns IntCurve_Eli. More...
 
static gp_Parab2d Parabola (const Adaptor3d_OffsetCurve &C)
 Returns the Parab2d from gp corresponding to the curve C. This method is called only when TheType returns IntCurve_Prb. More...
 
static gp_Hypr2d Hyperbola (const Adaptor3d_OffsetCurve &C)
 Returns the Hypr2d from gp corresponding to the curve C. This method is called only when TheType returns IntCurve_Hpr. More...
 
static Standard_Real FirstParameter (const Adaptor3d_OffsetCurve &C)
 
static Standard_Real LastParameter (const Adaptor3d_OffsetCurve &C)
 
static Standard_Real EpsX (const Adaptor3d_OffsetCurve &C, const Standard_Real Tol)
 
static Standard_Integer NbSamples (const Adaptor3d_OffsetCurve &C)
 
static gp_Pnt2d Value (const Adaptor3d_OffsetCurve &C, const Standard_Real X)
 
static void D1 (const Adaptor3d_OffsetCurve &C, const Standard_Real U, gp_Pnt2d &P, gp_Vec2d &T)
 
static void D2 (const Adaptor3d_OffsetCurve &C, const Standard_Real U, gp_Pnt2d &P, gp_Vec2d &T, gp_Vec2d &N)
 
static Standard_Boolean IsComposite (const Adaptor3d_OffsetCurve &C)
 
static Standard_Integer GetIntervals (const Adaptor3d_OffsetCurve &C)
 Outputs the number of interval of continuity C1 of the curve used if Type == Composite. More...
 
static void GetInterval (const Adaptor3d_OffsetCurve &C, const Standard_Integer Index, Standard_Real &U1, Standard_Real &U2)
 Outputs the bounds of interval of index <Index> used if Type == Composite. More...
 
static void SetCurrentInterval (Adaptor3d_OffsetCurve &C, const Standard_Integer Index)
 Set the current valid interval of index <Index> inside which the computations will be done (used if Type == Composite). More...
 

Member Function Documentation

static gp_Circ2d Geom2dGcc_CurveToolGeo::Circle ( const Adaptor3d_OffsetCurve C)
static

Returns the Circ2d from gp corresponding to the curve C. This method is called only when TheType returns IntCurve_Cir.

static void Geom2dGcc_CurveToolGeo::D1 ( const Adaptor3d_OffsetCurve C,
const Standard_Real  U,
gp_Pnt2d P,
gp_Vec2d T 
)
static
static void Geom2dGcc_CurveToolGeo::D2 ( const Adaptor3d_OffsetCurve C,
const Standard_Real  U,
gp_Pnt2d P,
gp_Vec2d T,
gp_Vec2d N 
)
static
static gp_Elips2d Geom2dGcc_CurveToolGeo::Ellipse ( const Adaptor3d_OffsetCurve C)
static

Returns the Elips2d from gp corresponding to the curve C. This method is called only when TheType returns IntCurve_Eli.

static Standard_Real Geom2dGcc_CurveToolGeo::EpsX ( const Adaptor3d_OffsetCurve C,
const Standard_Real  Tol 
)
static
static Standard_Real Geom2dGcc_CurveToolGeo::FirstParameter ( const Adaptor3d_OffsetCurve C)
static
static void Geom2dGcc_CurveToolGeo::GetInterval ( const Adaptor3d_OffsetCurve C,
const Standard_Integer  Index,
Standard_Real U1,
Standard_Real U2 
)
static

Outputs the bounds of interval of index <Index> used if Type == Composite.

static Standard_Integer Geom2dGcc_CurveToolGeo::GetIntervals ( const Adaptor3d_OffsetCurve C)
static

Outputs the number of interval of continuity C1 of the curve used if Type == Composite.

static gp_Hypr2d Geom2dGcc_CurveToolGeo::Hyperbola ( const Adaptor3d_OffsetCurve C)
static

Returns the Hypr2d from gp corresponding to the curve C. This method is called only when TheType returns IntCurve_Hpr.

static Standard_Boolean Geom2dGcc_CurveToolGeo::IsComposite ( const Adaptor3d_OffsetCurve C)
static
static Standard_Real Geom2dGcc_CurveToolGeo::LastParameter ( const Adaptor3d_OffsetCurve C)
static
static gp_Lin2d Geom2dGcc_CurveToolGeo::Line ( const Adaptor3d_OffsetCurve C)
static

Returns the Lin2d from gp corresponding to the curve C. This method is called only when TheType returns IntCurve_Lin.

static Standard_Integer Geom2dGcc_CurveToolGeo::NbSamples ( const Adaptor3d_OffsetCurve C)
static
static gp_Parab2d Geom2dGcc_CurveToolGeo::Parabola ( const Adaptor3d_OffsetCurve C)
static

Returns the Parab2d from gp corresponding to the curve C. This method is called only when TheType returns IntCurve_Prb.

static void Geom2dGcc_CurveToolGeo::SetCurrentInterval ( Adaptor3d_OffsetCurve C,
const Standard_Integer  Index 
)
static

Set the current valid interval of index <Index> inside which the computations will be done (used if Type == Composite).

static GeomAbs_CurveType Geom2dGcc_CurveToolGeo::TheType ( const Adaptor3d_OffsetCurve C)
static
static gp_Pnt2d Geom2dGcc_CurveToolGeo::Value ( const Adaptor3d_OffsetCurve C,
const Standard_Real  X 
)
static

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