MCPcopy Create free account
hub / github.com/TheAlgorithms/C-Plus-Plus / PointInCircle

Function PointInCircle

others/smallest_circle.cpp:72–78  ·  view source on GitHub ↗

* Check if a set of points lie within given circle. This is true if the * distance of all the points from the centre of the circle is less than the * radius of the circle * \param [in] P set of points to check * \param [in] Center coordinates to centre of the circle * \param [in] R radius of the circle * \returns True if P lies on or within the circle * \returns False if P lies outside the

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

circleFunction · 0.85

Calls 2

LenghtLineFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected