MCPcopy Create free account
hub / github.com/RobTillaart/Arduino / circumference

Method circumference

libraries/ellipse/ellipse.cpp:28–31  ·  view source on GitHub ↗

///////////////////////////////////////////////////////////// unknown - see youtube link. p = 2 * PI * sqrt((a*a + b*b)/2);

Source from the content-addressed store, hash-verified

26// p = 2 * PI * sqrt((a*a + b*b)/2);
27//
28float ellipse::circumference()
29{
30 return perimeter_Ramanujan1();
31}
32
33
34float ellipse::perimeter_ref()

Callers 1

unittestFunction · 0.80

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.64