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

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

## Constructor & Destructor Documentation

 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

 Standard_Boolean GccAna_Pnt2dBisec::HasSolution ( ) const

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

 Standard_Boolean GccAna_Pnt2dBisec::IsDone ( ) const

Returns true (this construction algorithm never fails).

 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:
{"ft_lang_label":"__label__en","ft_lang_prob":0.83433175,"math_prob":0.9601239,"size":1868,"snap":"2022-27-2022-33","text_gpt3_token_len":476,"char_repetition_ratio":0.14645922,"word_repetition_ratio":0.65917605,"special_character_ratio":0.21680942,"punctuation_ratio":0.159375,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.97362214,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-07-04T05:18:45Z\",\"WARC-Record-ID\":\"<urn:uuid:d6429333-5a8c-49a1-b959-ddebf33fb2db>\",\"Content-Length\":\"12230\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:6878f60a-9e46-4cc1-ac9a-cdf1b766a809>\",\"WARC-Concurrent-To\":\"<urn:uuid:7a5f4b4c-0393-40ed-90ab-4bb584c587ec>\",\"WARC-IP-Address\":\"5.196.194.182\",\"WARC-Target-URI\":\"https://dev.opencascade.org/doc/occt-6.9.0/refman/html/class_gcc_ana___pnt2d_bisec.html\",\"WARC-Payload-Digest\":\"sha1:QWAYV2M44ZGZGW4SR7QS3WNSQWLNEBI3\",\"WARC-Block-Digest\":\"sha1:ZFR5ZI6I37UVRRQZSYOMEN7VINO6M7TZ\",\"WARC-Identified-Payload-Type\":\"application/xhtml+xml\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-27/CC-MAIN-2022-27_segments_1656104354651.73_warc_CC-MAIN-20220704050055-20220704080055-00593.warc.gz\"}"}