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
    BRepExtrema_ExtPC Class Reference

    #include <BRepExtrema_ExtPC.hxx>

    Public Member Functions

     BRepExtrema_ExtPC ()=default
     BRepExtrema_ExtPC (const TopoDS_Vertex &V, const TopoDS_Edge &E)
     It calculates all the distances.
    void Initialize (const TopoDS_Edge &E)
    void Perform (const TopoDS_Vertex &V)
     An exception is raised if the fields have not been initialized.
    bool IsDone () const
     True if the distances are found.
    int NbExt () const
     Returns the number of extremum distances.
    bool IsMin (const int N) const
     Returns True if the <N>th extremum distance is a minimum.
    double SquareDistance (const int N) const
     Returns the value of the <N>th extremum square distance.
    double Parameter (const int N) const
     Returns the parameter on the edge of the <N>th extremum distance.
    gp_Pnt Point (const int N) const
     Returns the Point of the <N>th extremum distance.
    void TrimmedSquareDistances (double &dist1, double &dist2, gp_Pnt &pnt1, gp_Pnt &pnt2) const
     if the curve is a trimmed curve, dist1 is a square distance between

    Constructor & Destructor Documentation

    ◆ BRepExtrema_ExtPC() [1/2]

    BRepExtrema_ExtPC::BRepExtrema_ExtPC ( )
    default

    ◆ BRepExtrema_ExtPC() [2/2]

    BRepExtrema_ExtPC::BRepExtrema_ExtPC ( const TopoDS_Vertex & V,
    const TopoDS_Edge & E )

    It calculates all the distances.

    Member Function Documentation

    ◆ Initialize()

    void BRepExtrema_ExtPC::Initialize ( const TopoDS_Edge & E)

    ◆ IsDone()

    bool BRepExtrema_ExtPC::IsDone ( ) const
    inline

    True if the distances are found.

    ◆ IsMin()

    bool BRepExtrema_ExtPC::IsMin ( const int N) const
    inline

    Returns True if the <N>th extremum distance is a minimum.

    ◆ NbExt()

    int BRepExtrema_ExtPC::NbExt ( ) const
    inline

    Returns the number of extremum distances.

    ◆ Parameter()

    double BRepExtrema_ExtPC::Parameter ( const int N) const
    inline

    Returns the parameter on the edge of the <N>th extremum distance.

    ◆ Perform()

    void BRepExtrema_ExtPC::Perform ( const TopoDS_Vertex & V)

    An exception is raised if the fields have not been initialized.

    ◆ Point()

    gp_Pnt BRepExtrema_ExtPC::Point ( const int N) const
    inline

    Returns the Point of the <N>th extremum distance.

    ◆ SquareDistance()

    double BRepExtrema_ExtPC::SquareDistance ( const int N) const
    inline

    Returns the value of the <N>th extremum square distance.

    ◆ TrimmedSquareDistances()

    void BRepExtrema_ExtPC::TrimmedSquareDistances ( double & dist1,
    double & dist2,
    gp_Pnt & pnt1,
    gp_Pnt & pnt2 ) const
    inline

    if the curve is a trimmed curve, dist1 is a square distance between

    and the point of parameter FirstParameter <pnt1> and dist2 is a square distance between

    and the point of parameter LastParameter <pnt2>.


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