MCPcopy Create free account
hub / github.com/ShahjalalShohag/code-library / circle

Method circle

Geometry/Geometry 2D.cpp:272–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

270struct circle {
271 PT p; double r;
272 circle() {}
273 circle(PT _p, double _r): p(_p), r(_r) {};
274 // center (x, y) and radius r
275 circle(double x, double y, double _r): p(PT(x, y)), r(_r) {};

Callers

nothing calls this directly

Calls 5

dist_from_point_to_segFunction · 0.85
PTClass · 0.70
line_line_intersectionFunction · 0.70
rotatecw90Function · 0.70
distFunction · 0.70

Tested by

no test coverage detected