Open CASCADE Technology 6.6.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.

Standard_Boolean IsDone () const
 Returns true (this construction algorithm never fails).

Standard_Boolean 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


Constructor & Destructor Documentation

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

Member Function Documentation

Standard_Boolean GccAna_Pnt2dBisec::HasSolution ( ) const
Standard_Boolean GccAna_Pnt2dBisec::IsDone ( ) const
gp_Lin2d GccAna_Pnt2dBisec::ThisSolution ( ) const

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines