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

    This class implements the algorithms used to create the bisecting line between two 2d points Describes functions for building a bisecting line between two 2D points. The bisecting line between two points is the bisector of the segment which joins the two points, if these are not coincident. The algorithm does not find a solution if the two points are coincident. A Pnt2dBisec object provides a framework for: More...

    #include <GccAna_Pnt2dBisec.hxx>

    Public Member Functions

     GccAna_Pnt2dBisec (const gp_Pnt2d &Point1, const gp_Pnt2d &Point2)
     Constructs a bisecting line between the points Point1 and Point2.
    bool IsDone () const
     Returns true (this construction algorithm never fails).
    bool HasSolution () const
     Returns true if this algorithm has a solution, i.e. if the two points are not coincident.
    gp_Lin2d ThisSolution () const
     Returns a line, representing the solution computed by this algorithm.

    Detailed Description

    This class implements the algorithms used to create the bisecting line between two 2d points Describes functions for building a bisecting line between two 2D points. The bisecting line between two points is the bisector of the segment which joins the two points, if these are not coincident. The algorithm does not find a solution if the two points are coincident. A Pnt2dBisec object provides a framework for:

    • defining the construction of the bisecting line,
    • implementing the construction algorithm, and consulting the result.

    Constructor & Destructor Documentation

    ◆ GccAna_Pnt2dBisec()

    GccAna_Pnt2dBisec::GccAna_Pnt2dBisec ( const gp_Pnt2d & Point1,
    const gp_Pnt2d & Point2 )

    Constructs a bisecting line between the points Point1 and Point2.

    Member Function Documentation

    ◆ HasSolution()

    bool GccAna_Pnt2dBisec::HasSolution ( ) const

    Returns true if this algorithm has a solution, i.e. if the two points are not coincident.

    ◆ IsDone()

    bool GccAna_Pnt2dBisec::IsDone ( ) const

    Returns true (this construction algorithm never fails).

    ◆ ThisSolution()

    gp_Lin2d GccAna_Pnt2dBisec::ThisSolution ( ) const

    Returns a line, representing the solution computed by this algorithm.


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