Definition of struct Point.
More...
Definition of struct Point.
Definition of Point in the curve.
◆ operator==()
bool ciphers::elliptic_curve_key_exchange::Point::operator== |
( |
const Point & | p | ) |
|
|
inline |
x and y co-ordinates
operator == for Point
check whether co-ordinates are equal to the given point
- Parameters
-
p | given point to be checked with this |
- Returns
- true if x and y are both equal with Point p, else false
55{
return x == p.x && y == p.
y; }
int y
Point respect to x coordinate.
Definition line_segment_intersection.cpp:14
◆ operator<<
ostream operator for printing Point
- Parameters
-
op | ostream operator |
p | Point to be printed on console |
- Returns
- op, the ostream object
63 {
64 op << p.x <<
" " << p.
y;
65 return op;
66 }
The documentation for this struct was generated from the following file: