KiCad PCB EDA Suite
seg.h File Reference
#include <math.h>
#include <stdlib.h>
#include <ostream>
#include <type_traits>
#include <core/optional.h>
#include <math/util.h>
#include <math/vector2d.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

◆ OPT_VECTOR2I

Definition at line 37 of file seg.h.

Function Documentation

◆ operator<<()

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

Definition at line 413 of file seg.h.

414 {
415  aStream << "[ " << aSeg.A << " - " << aSeg.B << " ]";
416 
417  return aStream;
418 }
VECTOR2I A
Definition: seg.h:47
VECTOR2I B
Definition: seg.h:48

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