Auxiliary data structure for line.
More...
Auxiliary data structure for line.
Definition at line 18 of file JLine.cc.
◆ operator>>
std::istream& operator>> |
( |
std::istream & |
in, |
|
|
JLine & |
line |
|
) |
| |
|
friend |
Read line from input stream.
- Parameters
-
- Returns
- input stream
Definition at line 27 of file JLine.cc.
29 return in >> line.
x1 >> line.
y1 >> line.
x2 >> line.
y2;
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const JLine & |
line |
|
) |
| |
|
friend |
Write line to output stream.
- Parameters
-
out | output stream |
line | line |
- Returns
- output stream
Definition at line 39 of file JLine.cc.
41 return out << line.
x1 <<
' ' << line.
y1 <<
' ' << line.
x2 <<
' ' << line.
y2;
◆ x1
◆ y1
◆ x2
◆ y2
The documentation for this struct was generated from the following file: