OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    IntAna2d_IntPoint Class Reference

    Geometrical intersection between two 2d elements. More...

    #include <IntAna2d_IntPoint.hxx>

    Public Member Functions

     IntAna2d_IntPoint (const double X, const double Y, const double U1, const double U2)
     Create an intersection point between 2 parametric 2d lines. X,Y are the coordinate of the point. U1 is the parameter on the first element, U2 the parameter on the second one.
     IntAna2d_IntPoint (const double X, const double Y, const double U1)
     Create an intersection point between a parametric 2d line, and a line given by an implicit equation (ImplicitCurve). X,Y are the coordinate of the point. U1 is the parameter on the parametric element. Empty constructor. It's necessary to use one of the SetValue method after this one.
     IntAna2d_IntPoint ()
    virtual void SetValue (const double X, const double Y, const double U1, const double U2)
     Set the values for a "non-implicit" point.
    virtual void SetValue (const double X, const double Y, const double U1)
     Set the values for an "implicit" point.
    const gp_Pnt2d & Value () const
     Returns the geometric point.
    bool SecondIsImplicit () const
     Returns True if the second curve is implicit.
    double ParamOnFirst () const
     Returns the parameter on the first element.
    double ParamOnSecond () const
     Returns the parameter on the second element. If the second element is an implicit curve, an exception is raised.

    Detailed Description

    Geometrical intersection between two 2d elements.

    Constructor & Destructor Documentation

    ◆ IntAna2d_IntPoint() [1/3]

    IntAna2d_IntPoint::IntAna2d_IntPoint ( const double X,
    const double Y,
    const double U1,
    const double U2 )

    Create an intersection point between 2 parametric 2d lines. X,Y are the coordinate of the point. U1 is the parameter on the first element, U2 the parameter on the second one.

    ◆ IntAna2d_IntPoint() [2/3]

    IntAna2d_IntPoint::IntAna2d_IntPoint ( const double X,
    const double Y,
    const double U1 )

    Create an intersection point between a parametric 2d line, and a line given by an implicit equation (ImplicitCurve). X,Y are the coordinate of the point. U1 is the parameter on the parametric element. Empty constructor. It's necessary to use one of the SetValue method after this one.

    ◆ IntAna2d_IntPoint() [3/3]

    IntAna2d_IntPoint::IntAna2d_IntPoint ( )

    Member Function Documentation

    ◆ ParamOnFirst()

    double IntAna2d_IntPoint::ParamOnFirst ( ) const

    Returns the parameter on the first element.

    ◆ ParamOnSecond()

    double IntAna2d_IntPoint::ParamOnSecond ( ) const

    Returns the parameter on the second element. If the second element is an implicit curve, an exception is raised.

    ◆ SecondIsImplicit()

    bool IntAna2d_IntPoint::SecondIsImplicit ( ) const

    Returns True if the second curve is implicit.

    ◆ SetValue() [1/2]

    virtual void IntAna2d_IntPoint::SetValue ( const double X,
    const double Y,
    const double U1 )
    virtual

    Set the values for an "implicit" point.

    ◆ SetValue() [2/2]

    virtual void IntAna2d_IntPoint::SetValue ( const double X,
    const double Y,
    const double U1,
    const double U2 )
    virtual

    Set the values for a "non-implicit" point.

    ◆ Value()

    const gp_Pnt2d & IntAna2d_IntPoint::Value ( ) const

    Returns the geometric point.


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