Open CASCADE Technology 7.8.2.dev
GccAna_LinPnt2dBisec Class Reference

Describes functions for building bisecting curves between a 2D line and a point. A bisecting curve between a line and a point is such a curve that each of its points is at the same distance from the circle and the point. It can be a parabola or a line, depending on the relative position of the line and the circle. There is always one unique solution. A LinPnt2dBisec object provides a framework for: More...

#include <GccAna_LinPnt2dBisec.hxx>

Public Member Functions

 GccAna_LinPnt2dBisec (const gp_Lin2d &Line1, const gp_Pnt2d &Point2)
 Constructs a bisecting curve between the line Line1 and the point Point2.
 
Standard_Boolean IsDone () const
 Returns True if the algorithm succeeded.
 
Handle< GccInt_BisecThisSolution () const
 Returns the number of solutions. It raises NotDone if the construction algorithm didn't succeed.
 

Detailed Description

Describes functions for building bisecting curves between a 2D line and a point. A bisecting curve between a line and a point is such a curve that each of its points is at the same distance from the circle and the point. It can be a parabola or a line, depending on the relative position of the line and the circle. There is always one unique solution. A LinPnt2dBisec object provides a framework for:

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

Constructor & Destructor Documentation

◆ GccAna_LinPnt2dBisec()

GccAna_LinPnt2dBisec::GccAna_LinPnt2dBisec ( const gp_Lin2d & Line1,
const gp_Pnt2d & Point2 )

Constructs a bisecting curve between the line Line1 and the point Point2.

Member Function Documentation

◆ IsDone()

Standard_Boolean GccAna_LinPnt2dBisec::IsDone ( ) const

Returns True if the algorithm succeeded.

◆ ThisSolution()

Handle< GccInt_Bisec > GccAna_LinPnt2dBisec::ThisSolution ( ) const

Returns the number of solutions. It raises NotDone if the construction algorithm didn't succeed.


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