KiCad PCB EDA Suite
seg.h File Reference
#include <math.h>
#include <stdlib.h>
#include <ostream>
#include <type_traits>
#include <optional>
#include <math/vector2d.h>
#include <geometry/eda_angle.h>

Go to the source code of this file.

Classes

class  SEG
 

Typedefs

typedef std::optional< VECTOR2IOPT_VECTOR2I
 

Functions

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

Typedef Documentation

◆ OPT_VECTOR2I

typedef std::optional<VECTOR2I> OPT_VECTOR2I

Definition at line 39 of file seg.h.

Function Documentation

◆ operator<<()

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

Definition at line 386 of file seg.h.

387{
388 aStream << "[ " << aSeg.A << " - " << aSeg.B << " ]";
389
390 return aStream;
391}
VECTOR2I A
Definition: seg.h:49
VECTOR2I B
Definition: seg.h:50