MCPcopy Create free account
hub / github.com/XRay3D/GERBER_X3 / angle

Function angle

static_libs/clipper/clipper.cpp:4095–4101  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

4093}
4094//------------------------------------------------------------------------------
4095auto angle(QPointF p)
4096{
4097 double a = std::atan2(p.y(), p.x());
4098 if (a < 0)
4099 a += two_pi;
4100 return a;
4101}
4102
4103auto angle(DoublePoint p)
4104{

Callers 1

getDiameterMethod · 0.50

Calls 2

yMethod · 0.80
xMethod · 0.80

Tested by

no test coverage detected