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

    #include <BRepExtrema_ExtCC.hxx>

    Public Member Functions

     BRepExtrema_ExtCC ()=default
     BRepExtrema_ExtCC (const TopoDS_Edge &E1, const TopoDS_Edge &E2)
     It calculates all the distances.
    void Initialize (const TopoDS_Edge &E2)
    void Perform (const TopoDS_Edge &E1)
     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 IsParallel () const
     Returns True if E1 and E2 are parallel.
    double SquareDistance (const int N) const
     Returns the value of the <N>th extremum square distance.
    double ParameterOnE1 (const int N) const
     Returns the parameter on the first edge of the <N>th extremum distance.
    gp_Pnt PointOnE1 (const int N) const
     Returns the Point of the <N>th extremum distance on the edge E1.
    double ParameterOnE2 (const int N) const
     Returns the parameter on the second edge of the <N>th extremum distance.
    gp_Pnt PointOnE2 (const int N) const
     Returns the Point of the <N>th extremum distance on the edge E2.
    void TrimmedSquareDistances (double &dist11, double &distP12, double &distP21, double &distP22, gp_Pnt &P11, gp_Pnt &P12, gp_Pnt &P21, gp_Pnt &P22) const
     if the edges is a trimmed curve, dist11 is a square distance between the point on E1 of parameter FirstParameter and the point of parameter FirstParameter on E2.

    Constructor & Destructor Documentation

    ◆ BRepExtrema_ExtCC() [1/2]

    BRepExtrema_ExtCC::BRepExtrema_ExtCC ( )
    default

    ◆ BRepExtrema_ExtCC() [2/2]

    BRepExtrema_ExtCC::BRepExtrema_ExtCC ( const TopoDS_Edge & E1,
    const TopoDS_Edge & E2 )

    It calculates all the distances.

    Member Function Documentation

    ◆ Initialize()

    void BRepExtrema_ExtCC::Initialize ( const TopoDS_Edge & E2)

    ◆ IsDone()

    bool BRepExtrema_ExtCC::IsDone ( ) const
    inline

    True if the distances are found.

    ◆ IsParallel()

    bool BRepExtrema_ExtCC::IsParallel ( ) const
    inline

    Returns True if E1 and E2 are parallel.

    ◆ NbExt()

    int BRepExtrema_ExtCC::NbExt ( ) const
    inline

    Returns the number of extremum distances.

    ◆ ParameterOnE1()

    double BRepExtrema_ExtCC::ParameterOnE1 ( const int N) const

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

    ◆ ParameterOnE2()

    double BRepExtrema_ExtCC::ParameterOnE2 ( const int N) const

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

    ◆ Perform()

    void BRepExtrema_ExtCC::Perform ( const TopoDS_Edge & E1)

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

    ◆ PointOnE1()

    gp_Pnt BRepExtrema_ExtCC::PointOnE1 ( const int N) const

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

    ◆ PointOnE2()

    gp_Pnt BRepExtrema_ExtCC::PointOnE2 ( const int N) const

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

    ◆ SquareDistance()

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

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

    ◆ TrimmedSquareDistances()

    void BRepExtrema_ExtCC::TrimmedSquareDistances ( double & dist11,
    double & distP12,
    double & distP21,
    double & distP22,
    gp_Pnt & P11,
    gp_Pnt & P12,
    gp_Pnt & P21,
    gp_Pnt & P22 ) const

    if the edges is a trimmed curve, dist11 is a square distance between the point on E1 of parameter FirstParameter and the point of parameter FirstParameter on E2.


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