Auxiliary data structure for line.  
 More...
 | 
| std::istream &  | operator>> (std::istream &in, JLine &line) | 
|   | Read line from input stream.  
  | 
|   | 
| std::ostream &  | operator<< (std::ostream &out, const JLine &line) | 
|   | Write line to output stream.  
  | 
|   | 
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.
   28  {
   29    return in >> line.
x1 >> line.
y1 >> line.
x2 >> line.
y2;
 
   30  }
 
 
 
◆ 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.
   40  {
   41    return out << line.
x1 << 
' ' << line.
y1 << 
' ' << line.
x2 << 
' ' << line.
y2;
 
   42  }
 
 
 
◆ x1
◆ y1
◆ x2
◆ y2
The documentation for this struct was generated from the following file: