Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions
Law Class Reference

Multiple services concerning 1d functions.
More...

#include <Law.hxx>

Static Public Member Functions

static Handle_Law_BSpFunc MixBnd (const Handle< Law_Linear > &Lin)
 This algorithm searches the knot values corresponding to the
splitting of a given B-spline law into several arcs with
the same continuity. The continuity order is given at the
construction time.
//! Builds a 1d bspline that is near from Lin with null
derivatives at the extremities.
More...
 
static Handle_TColStd_HArray1OfReal MixBnd (const Standard_Integer Degree, const TColStd_Array1OfReal &Knots, const TColStd_Array1OfInteger &Mults, const Handle< Law_Linear > &Lin)
 Builds the poles of the 1d bspline that is near from
Lin with null derivatives at the extremities.
More...
 
static Handle_TColStd_HArray1OfReal MixTgt (const Standard_Integer Degree, const TColStd_Array1OfReal &Knots, const TColStd_Array1OfInteger &Mults, const Standard_Boolean NulOnTheRight, const Standard_Integer Index)
 
Builds the poles of the 1d bspline that is null on the <br>
    rigth    side   of   Knots(Index)  (on  the    left if <br>
    NulOnTheRight  is  false)    and   that is     like  a <br>
    t*(1-t)(1-t) curve  on the  left side of  Knots(Index) <br>
    (on the rigth  if NulOnTheRight is false).  The result <br>
    curve is  C1 with  a derivative  equal  to 1. at first <br>
    parameter (-1 at last  parameter  if  NulOnTheRight is <br>
    false). <br>

Warning: Mults(Index) must greater or equal to degree-1.
More...

 
static Handle_Law_BSpline Reparametrize (const Adaptor3d_Curve &Curve, const Standard_Real First, const Standard_Real Last, const Standard_Boolean HasDF, const Standard_Boolean HasDL, const Standard_Real DFirst, const Standard_Real DLast, const Standard_Boolean Rev, const Standard_Integer NbPoints)
 Computes a 1 d curve to reparametrize a curve. Its an
interpolation of NbPoints points calculated at quasi
constant abscissa.
More...
 
static Handle_Law_BSpline Scale (const Standard_Real First, const Standard_Real Last, const Standard_Boolean HasF, const Standard_Boolean HasL, const Standard_Real VFirst, const Standard_Real VLast)
 
 Computes a 1  d curve to  scale  a field of  tangency. <br>
     Value is 1. for t = (First+Last)/2 . <br>
     If HasFirst value for t = First is VFirst (null derivative). <br>
     If HasLast value for t = Last is VLast (null derivative). <br>


More...

 
static Handle_Law_BSpline ScaleCub (const Standard_Real First, const Standard_Real Last, const Standard_Boolean HasF, const Standard_Boolean HasL, const Standard_Real VFirst, const Standard_Real VLast)
 

Detailed Description

Multiple services concerning 1d functions.

Member Function Documentation

static Handle_Law_BSpFunc Law::MixBnd ( const Handle< Law_Linear > &  Lin)
static

This algorithm searches the knot values corresponding to the
splitting of a given B-spline law into several arcs with
the same continuity. The continuity order is given at the
construction time.
//! Builds a 1d bspline that is near from Lin with null
derivatives at the extremities.

static Handle_TColStd_HArray1OfReal Law::MixBnd ( const Standard_Integer  Degree,
const TColStd_Array1OfReal Knots,
const TColStd_Array1OfInteger Mults,
const Handle< Law_Linear > &  Lin 
)
static

Builds the poles of the 1d bspline that is near from
Lin with null derivatives at the extremities.

static Handle_TColStd_HArray1OfReal Law::MixTgt ( const Standard_Integer  Degree,
const TColStd_Array1OfReal Knots,
const TColStd_Array1OfInteger Mults,
const Standard_Boolean  NulOnTheRight,
const Standard_Integer  Index 
)
static

Builds the poles of the 1d bspline that is null on the <br>
    rigth    side   of   Knots(Index)  (on  the    left if <br>
    NulOnTheRight  is  false)    and   that is     like  a <br>
    t*(1-t)(1-t) curve  on the  left side of  Knots(Index) <br>
    (on the rigth  if NulOnTheRight is false).  The result <br>
    curve is  C1 with  a derivative  equal  to 1. at first <br>
    parameter (-1 at last  parameter  if  NulOnTheRight is <br>
    false). <br>

Warning: Mults(Index) must greater or equal to degree-1.

static Handle_Law_BSpline Law::Reparametrize ( const Adaptor3d_Curve Curve,
const Standard_Real  First,
const Standard_Real  Last,
const Standard_Boolean  HasDF,
const Standard_Boolean  HasDL,
const Standard_Real  DFirst,
const Standard_Real  DLast,
const Standard_Boolean  Rev,
const Standard_Integer  NbPoints 
)
static

Computes a 1 d curve to reparametrize a curve. Its an
interpolation of NbPoints points calculated at quasi
constant abscissa.

static Handle_Law_BSpline Law::Scale ( const Standard_Real  First,
const Standard_Real  Last,
const Standard_Boolean  HasF,
const Standard_Boolean  HasL,
const Standard_Real  VFirst,
const Standard_Real  VLast 
)
static

 Computes a 1  d curve to  scale  a field of  tangency. <br>
     Value is 1. for t = (First+Last)/2 . <br>
     If HasFirst value for t = First is VFirst (null derivative). <br>
     If HasLast value for t = Last is VLast (null derivative). <br>


  1. _
    _/ _
    __/ __
    / \
    VFirst ____/ \
    VLast ____
    First Last
static Handle_Law_BSpline Law::ScaleCub ( const Standard_Real  First,
const Standard_Real  Last,
const Standard_Boolean  HasF,
const Standard_Boolean  HasL,
const Standard_Real  VFirst,
const Standard_Real  VLast 
)
static

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