OCCT3D OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    Law Class Reference

    Multiple services concerning 1d functions. More...

    #include <Law.hxx>

    Static Public Member Functions

    static occ::handle< Law_BSpFuncMixBnd (const occ::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.
    static occ::handle< NCollection_HArray1< double > > MixBnd (const int Degree, const NCollection_Array1< double > &Knots, const NCollection_Array1< int > &Mults, const occ::handle< Law_Linear > &Lin)
     Builds the poles of the 1d bspline that is near from Lin with null derivatives at the extremities.
    static occ::handle< NCollection_HArray1< double > > MixTgt (const int Degree, const NCollection_Array1< double > &Knots, const NCollection_Array1< int > &Mults, const bool NulOnTheRight, const int Index)
     Builds the poles of the 1d bspline that is null on the right side of Knots(Index) (on the left if NulOnTheRight is false) and that is like a t*(1-t)(1-t) curve on the left side of Knots(Index) (on the right if NulOnTheRight is false). The result curve is C1 with a derivative equal to 1. at first parameter (-1 at last parameter if NulOnTheRight is false). Warning: Mults(Index) must greater or equal to degree-1.
    static occ::handle< Law_BSplineReparametrize (const Adaptor3d_Curve &Curve, const double First, const double Last, const bool HasDF, const bool HasDL, const double DFirst, const double DLast, const bool Rev, const int NbPoints)
     Computes a 1d curve to reparametrize a curve. Its an interpolation of NbPoints points calculated at quasi constant abscissa.
    static occ::handle< Law_BSplineScale (const double First, const double Last, const bool HasF, const bool HasL, const double VFirst, const double VLast)
     Computes a 1d curve to scale a field of tangency. Value is 1. for t = (First+Last)/2 . If HasFirst value for t = First is VFirst (null derivative). If HasLast value for t = Last is VLast (null derivative).
    static occ::handle< Law_BSplineScaleCub (const double First, const double Last, const bool HasF, const bool HasL, const double VFirst, const double VLast)

    Detailed Description

    Multiple services concerning 1d functions.

    Member Function Documentation

    ◆ MixBnd() [1/2]

    occ::handle< NCollection_HArray1< double > > Law::MixBnd ( const int Degree,
    const NCollection_Array1< double > & Knots,
    const NCollection_Array1< int > & Mults,
    const occ::handle< Law_Linear > & Lin )
    static

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

    ◆ MixBnd() [2/2]

    occ::handle< Law_BSpFunc > Law::MixBnd ( const occ::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.

    ◆ MixTgt()

    occ::handle< NCollection_HArray1< double > > Law::MixTgt ( const int Degree,
    const NCollection_Array1< double > & Knots,
    const NCollection_Array1< int > & Mults,
    const bool NulOnTheRight,
    const int Index )
    static

    Builds the poles of the 1d bspline that is null on the right side of Knots(Index) (on the left if NulOnTheRight is false) and that is like a t*(1-t)(1-t) curve on the left side of Knots(Index) (on the right if NulOnTheRight is false). The result curve is C1 with a derivative equal to 1. at first parameter (-1 at last parameter if NulOnTheRight is false). Warning: Mults(Index) must greater or equal to degree-1.

    ◆ Reparametrize()

    occ::handle< Law_BSpline > Law::Reparametrize ( const Adaptor3d_Curve & Curve,
    const double First,
    const double Last,
    const bool HasDF,
    const bool HasDL,
    const double DFirst,
    const double DLast,
    const bool Rev,
    const int NbPoints )
    static

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

    ◆ Scale()

    occ::handle< Law_BSpline > Law::Scale ( const double First,
    const double Last,
    const bool HasF,
    const bool HasL,
    const double VFirst,
    const double VLast )
    static

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

    1. _ _/ _ __/ __ / VFirst ____/ VLast ____ First Last

    ◆ ScaleCub()

    occ::handle< Law_BSpline > Law::ScaleCub ( const double First,
    const double Last,
    const bool HasF,
    const bool HasL,
    const double VFirst,
    const double VLast )
    static

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