Open CASCADE Technology  7.2.0
Public Member Functions

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. More...
 
Standard_Boolean IsDone () const
 Returns true (this construction algorithm never fails). More...
 
Standard_Boolean HasSolution () const
 Returns true if this algorithm has a solution, i.e. if the two points are not coincident. More...
 
gp_Lin2d ThisSolution () const
 Returns a line, representing the solution computed by this algorithm. More...
 

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:

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()

Standard_Boolean GccAna_Pnt2dBisec::HasSolution ( ) const

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

◆ IsDone()

Standard_Boolean 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: