Open CASCADE Technology  7.7.0
Static Public Member Functions

Geom2dEvaluator Class Reference

The Geom2dEvaluator package provides utilities for . calculating value and derivatives of offset curve using corresponding values of base curve. More...

#include <Geom2dEvaluator.hxx>

Static Public Member Functions

static void CalculateD0 (gp_Pnt2d &theValue, const gp_Vec2d &theD1, const Standard_Real theOffset)
 Recalculate D1 values of base curve into D0 value of offset curve. More...
 
static void CalculateD1 (gp_Pnt2d &theValue, gp_Vec2d &theD1, const gp_Vec2d &theD2, const Standard_Real theOffset)
 Recalculate D2 values of base curve into D1 values of offset curve. More...
 
static void CalculateD2 (gp_Pnt2d &theValue, gp_Vec2d &theD1, gp_Vec2d &theD2, const gp_Vec2d &theD3, const Standard_Boolean theIsDirChange, const Standard_Real theOffset)
 Recalculate D3 values of base curve into D2 values of offset curve. More...
 
static void CalculateD3 (gp_Pnt2d &theValue, gp_Vec2d &theD1, gp_Vec2d &theD2, gp_Vec2d &theD3, const gp_Vec2d &theD4, const Standard_Boolean theIsDirChange, const Standard_Real theOffset)
 Recalculate D3 values of base curve into D3 values of offset curve. More...
 
static Standard_Boolean AdjustDerivative (const Standard_Integer theMaxDerivative, const Standard_Real theU, gp_Vec2d &theD1, gp_Vec2d &theD2, gp_Vec2d &theD3, gp_Vec2d &theD4)
 Recalculate derivatives in the singular point Returns true if the direction of derivatives is changed. More...
 

Detailed Description

The Geom2dEvaluator package provides utilities for . calculating value and derivatives of offset curve using corresponding values of base curve.

Member Function Documentation

◆ AdjustDerivative()

static Standard_Boolean Geom2dEvaluator::AdjustDerivative ( const Standard_Integer  theMaxDerivative,
const Standard_Real  theU,
gp_Vec2d theD1,
gp_Vec2d theD2,
gp_Vec2d theD3,
gp_Vec2d theD4 
)
static

Recalculate derivatives in the singular point Returns true if the direction of derivatives is changed.

◆ CalculateD0()

static void Geom2dEvaluator::CalculateD0 ( gp_Pnt2d theValue,
const gp_Vec2d theD1,
const Standard_Real  theOffset 
)
static

Recalculate D1 values of base curve into D0 value of offset curve.

◆ CalculateD1()

static void Geom2dEvaluator::CalculateD1 ( gp_Pnt2d theValue,
gp_Vec2d theD1,
const gp_Vec2d theD2,
const Standard_Real  theOffset 
)
static

Recalculate D2 values of base curve into D1 values of offset curve.

◆ CalculateD2()

static void Geom2dEvaluator::CalculateD2 ( gp_Pnt2d theValue,
gp_Vec2d theD1,
gp_Vec2d theD2,
const gp_Vec2d theD3,
const Standard_Boolean  theIsDirChange,
const Standard_Real  theOffset 
)
static

Recalculate D3 values of base curve into D2 values of offset curve.

◆ CalculateD3()

static void Geom2dEvaluator::CalculateD3 ( gp_Pnt2d theValue,
gp_Vec2d theD1,
gp_Vec2d theD2,
gp_Vec2d theD3,
const gp_Vec2d theD4,
const Standard_Boolean  theIsDirChange,
const Standard_Real  theOffset 
)
static

Recalculate D3 values of base curve into D3 values of offset curve.


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