KiCad PCB EDA Suite
seg.h File Reference
#include <cstdio>
#include <climits>
#include <math/vector2d.h>
#include <core/optional.h>

Go to the source code of this file.

Classes

class  SEG
 

Typedefs

typedef OPT< VECTOR2IOPT_VECTOR2I
 

Functions

std::ostream & operator<< (std::ostream &aStream, const SEG &aSeg)
 

Typedef Documentation

Definition at line 34 of file seg.h.

Function Documentation

std::ostream& operator<< ( std::ostream &  aStream,
const SEG aSeg 
)
inline

Definition at line 385 of file seg.h.

References SEG::A, and SEG::B.

386 {
387  aStream << "[ " << aSeg.A << " - " << aSeg.B << " ]";
388 
389  return aStream;
390 }
VECTOR2I A
Definition: seg.h:46
VECTOR2I B
Definition: seg.h:47