OCC Main Page | ModelingAlgorithms | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingAlgorithms
TKGeomAlgo
GccAna


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:
- defining the construction of the bisecting line,
- implementing the construction algorithm, and consulting the result.
.

#include <GccAna_Pnt2dBisec.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT GccAna_Pnt2dBisec (const gp_Pnt2d &Point1, const gp_Pnt2d &Point2)
 Constructs a bisecting line between the points Point1 and Point2.
.
Standard_EXPORT Standard_Boolean IsDone () const
 Returns true (this construction algorithm never fails).
.
Standard_EXPORT Standard_Boolean HasSolution () const
 Returns true if this algorithm has a solution, i.e. if the
two points are not coincident.
.
Standard_EXPORT gp_Lin2d ThisSolution () const
 Returns a line, representing the solution computed by this algorithm.
.

Private Attributes

Standard_Boolean WellDone
Standard_Boolean HasSol
gp_Lin2d linsol


Constructor & Destructor Documentation

Standard_EXPORT GccAna_Pnt2dBisec::GccAna_Pnt2dBisec const gp_Pnt2d &  Point1,
const gp_Pnt2d &  Point2
 


Member Function Documentation

Standard_EXPORT Standard_Boolean GccAna_Pnt2dBisec::HasSolution  )  const
 

Standard_EXPORT Standard_Boolean GccAna_Pnt2dBisec::IsDone  )  const
 

void GccAna_Pnt2dBisec::operator delete void *  anAddress  )  [inline]
 

void* GccAna_Pnt2dBisec::operator new size_t  size  )  [inline]
 

void* GccAna_Pnt2dBisec::operator new size_t  ,
void *  anAddress
[inline]
 

Standard_EXPORT gp_Lin2d GccAna_Pnt2dBisec::ThisSolution  )  const
 


Field Documentation

Standard_Boolean GccAna_Pnt2dBisec::HasSol [private]
 

gp_Lin2d GccAna_Pnt2dBisec::linsol [private]
 

Standard_Boolean GccAna_Pnt2dBisec::WellDone [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:41:44 2008 for OpenCASCADE by  doxygen 1.4.1