KiCad PCB EDA Suite
shape_arc.h File Reference
#include <geometry/shape.h>
#include <base_units.h>
#include <math/vector2d.h>
#include <geometry/eda_angle.h>

Go to the source code of this file.

Classes

class  SHAPE_ARC
 

Functions

std::ostream & operator<< (std::ostream &aStream, const SHAPE_ARC &aArc)
 

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream &  aStream,
const SHAPE_ARC aArc 
)

Definition at line 35 of file shape_arc.cpp.

36{
37 aStream << "Arc( P0=" << aArc.GetP0() << " P1=" << aArc.GetP1() << " Mid=" << aArc.GetArcMid()
38 << " Width=" << aArc.GetWidth() << " )";
39 return aStream;
40}
const VECTOR2I & GetArcMid() const
Definition: shape_arc.h:114
int GetWidth() const
Definition: shape_arc.h:157
const VECTOR2I & GetP1() const
Definition: shape_arc.h:113
const VECTOR2I & GetP0() const
Definition: shape_arc.h:112

References SHAPE_ARC::GetArcMid(), SHAPE_ARC::GetP0(), SHAPE_ARC::GetP1(), and SHAPE_ARC::GetWidth().