OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    BRepApprox_TheMultiLineToolOfApprox Class Reference

    #include <BRepApprox_TheMultiLineToolOfApprox.hxx>

    Static Public Member Functions

    static int FirstPoint (const BRepApprox_TheMultiLineOfApprox &ML)
     Returns the number of multipoints of the TheMultiLine.
    static int LastPoint (const BRepApprox_TheMultiLineOfApprox &ML)
     Returns the number of multipoints of the TheMultiLine.
    static int NbP2d (const BRepApprox_TheMultiLineOfApprox &ML)
     Returns the number of 2d points of a TheMultiLine.
    static int NbP3d (const BRepApprox_TheMultiLineOfApprox &ML)
     Returns the number of 3d points of a TheMultiLine.
    static void Value (const BRepApprox_TheMultiLineOfApprox &ML, const int MPointIndex, NCollection_Array1< gp_Pnt > &tabPt)
     returns the 3d points of the multipoint <MPointIndex> when only 3d points exist.
    static void Value (const BRepApprox_TheMultiLineOfApprox &ML, const int MPointIndex, NCollection_Array1< gp_Pnt2d > &tabPt2d)
     returns the 2d points of the multipoint <MPointIndex> when only 2d points exist.
    static void Value (const BRepApprox_TheMultiLineOfApprox &ML, const int MPointIndex, NCollection_Array1< gp_Pnt > &tabPt, NCollection_Array1< gp_Pnt2d > &tabPt2d)
     returns the 3d and 2d points of the multipoint <MPointIndex>.
    static bool Tangency (const BRepApprox_TheMultiLineOfApprox &ML, const int MPointIndex, NCollection_Array1< gp_Vec > &tabV)
     returns the 3d points of the multipoint <MPointIndex> when only 3d points exist.
    static bool Tangency (const BRepApprox_TheMultiLineOfApprox &ML, const int MPointIndex, NCollection_Array1< gp_Vec2d > &tabV2d)
     returns the 2d tangency points of the multipoint <MPointIndex> only when 2d points exist.
    static bool Tangency (const BRepApprox_TheMultiLineOfApprox &ML, const int MPointIndex, NCollection_Array1< gp_Vec > &tabV, NCollection_Array1< gp_Vec2d > &tabV2d)
     returns the 3d and 2d points of the multipoint <MPointIndex>.
    static bool Curvature (const BRepApprox_TheMultiLineOfApprox &ML, const int MPointIndex, NCollection_Array1< gp_Vec > &tabV)
     returns the 3d curvature of the multipoint <MPointIndex> when only 3d points exist.
    static bool Curvature (const BRepApprox_TheMultiLineOfApprox &ML, const int MPointIndex, NCollection_Array1< gp_Vec2d > &tabV2d)
     returns the 2d curvature points of the multipoint <MPointIndex> only when 2d points exist.
    static bool Curvature (const BRepApprox_TheMultiLineOfApprox &ML, const int MPointIndex, NCollection_Array1< gp_Vec > &tabV, NCollection_Array1< gp_Vec2d > &tabV2d)
     returns the 3d and 2d curvature of the multipoint <MPointIndex>.
    static BRepApprox_TheMultiLineOfApprox MakeMLBetween (const BRepApprox_TheMultiLineOfApprox &ML, const int I1, const int I2, const int NbPMin)
     Is called if WhatStatus returned "PointsAdded".
    static bool MakeMLOneMorePoint (const BRepApprox_TheMultiLineOfApprox &ML, const int I1, const int I2, const int indbad, BRepApprox_TheMultiLineOfApprox &OtherLine)
     Is called when the Bezier curve contains a loop.
    static Approx_Status WhatStatus (const BRepApprox_TheMultiLineOfApprox &ML, const int I1, const int I2)
    static void Dump (const BRepApprox_TheMultiLineOfApprox &ML)
     Dump of the current multi-line.

    Member Function Documentation

    ◆ Curvature() [1/3]

    bool BRepApprox_TheMultiLineToolOfApprox::Curvature ( const BRepApprox_TheMultiLineOfApprox & ML,
    const int MPointIndex,
    NCollection_Array1< gp_Vec > & tabV )
    static

    returns the 3d curvature of the multipoint <MPointIndex> when only 3d points exist.

    ◆ Curvature() [2/3]

    bool BRepApprox_TheMultiLineToolOfApprox::Curvature ( const BRepApprox_TheMultiLineOfApprox & ML,
    const int MPointIndex,
    NCollection_Array1< gp_Vec > & tabV,
    NCollection_Array1< gp_Vec2d > & tabV2d )
    static

    returns the 3d and 2d curvature of the multipoint <MPointIndex>.

    ◆ Curvature() [3/3]

    bool BRepApprox_TheMultiLineToolOfApprox::Curvature ( const BRepApprox_TheMultiLineOfApprox & ML,
    const int MPointIndex,
    NCollection_Array1< gp_Vec2d > & tabV2d )
    static

    returns the 2d curvature points of the multipoint <MPointIndex> only when 2d points exist.

    ◆ Dump()

    void BRepApprox_TheMultiLineToolOfApprox::Dump ( const BRepApprox_TheMultiLineOfApprox & ML)
    static

    Dump of the current multi-line.

    ◆ FirstPoint()

    int BRepApprox_TheMultiLineToolOfApprox::FirstPoint ( const BRepApprox_TheMultiLineOfApprox & ML)
    static

    Returns the number of multipoints of the TheMultiLine.

    ◆ LastPoint()

    int BRepApprox_TheMultiLineToolOfApprox::LastPoint ( const BRepApprox_TheMultiLineOfApprox & ML)
    static

    Returns the number of multipoints of the TheMultiLine.

    ◆ MakeMLBetween()

    BRepApprox_TheMultiLineOfApprox BRepApprox_TheMultiLineToolOfApprox::MakeMLBetween ( const BRepApprox_TheMultiLineOfApprox & ML,
    const int I1,
    const int I2,
    const int NbPMin )
    static

    Is called if WhatStatus returned "PointsAdded".

    ◆ MakeMLOneMorePoint()

    bool BRepApprox_TheMultiLineToolOfApprox::MakeMLOneMorePoint ( const BRepApprox_TheMultiLineOfApprox & ML,
    const int I1,
    const int I2,
    const int indbad,
    BRepApprox_TheMultiLineOfApprox & OtherLine )
    static

    Is called when the Bezier curve contains a loop.

    ◆ NbP2d()

    int BRepApprox_TheMultiLineToolOfApprox::NbP2d ( const BRepApprox_TheMultiLineOfApprox & ML)
    static

    Returns the number of 2d points of a TheMultiLine.

    ◆ NbP3d()

    int BRepApprox_TheMultiLineToolOfApprox::NbP3d ( const BRepApprox_TheMultiLineOfApprox & ML)
    static

    Returns the number of 3d points of a TheMultiLine.

    ◆ Tangency() [1/3]

    bool BRepApprox_TheMultiLineToolOfApprox::Tangency ( const BRepApprox_TheMultiLineOfApprox & ML,
    const int MPointIndex,
    NCollection_Array1< gp_Vec > & tabV )
    static

    returns the 3d points of the multipoint <MPointIndex> when only 3d points exist.

    ◆ Tangency() [2/3]

    bool BRepApprox_TheMultiLineToolOfApprox::Tangency ( const BRepApprox_TheMultiLineOfApprox & ML,
    const int MPointIndex,
    NCollection_Array1< gp_Vec > & tabV,
    NCollection_Array1< gp_Vec2d > & tabV2d )
    static

    returns the 3d and 2d points of the multipoint <MPointIndex>.

    ◆ Tangency() [3/3]

    bool BRepApprox_TheMultiLineToolOfApprox::Tangency ( const BRepApprox_TheMultiLineOfApprox & ML,
    const int MPointIndex,
    NCollection_Array1< gp_Vec2d > & tabV2d )
    static

    returns the 2d tangency points of the multipoint <MPointIndex> only when 2d points exist.

    ◆ Value() [1/3]

    void BRepApprox_TheMultiLineToolOfApprox::Value ( const BRepApprox_TheMultiLineOfApprox & ML,
    const int MPointIndex,
    NCollection_Array1< gp_Pnt > & tabPt )
    static

    returns the 3d points of the multipoint <MPointIndex> when only 3d points exist.

    ◆ Value() [2/3]

    void BRepApprox_TheMultiLineToolOfApprox::Value ( const BRepApprox_TheMultiLineOfApprox & ML,
    const int MPointIndex,
    NCollection_Array1< gp_Pnt > & tabPt,
    NCollection_Array1< gp_Pnt2d > & tabPt2d )
    static

    returns the 3d and 2d points of the multipoint <MPointIndex>.

    ◆ Value() [3/3]

    void BRepApprox_TheMultiLineToolOfApprox::Value ( const BRepApprox_TheMultiLineOfApprox & ML,
    const int MPointIndex,
    NCollection_Array1< gp_Pnt2d > & tabPt2d )
    static

    returns the 2d points of the multipoint <MPointIndex> when only 2d points exist.

    ◆ WhatStatus()

    Approx_Status BRepApprox_TheMultiLineToolOfApprox::WhatStatus ( const BRepApprox_TheMultiLineOfApprox & ML,
    const int I1,
    const int I2 )
    static

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