MCPcopy Create free account
hub / github.com/dabing1022/Blog / line_circle

Method line_circle

Processing/game2dai/maths/Geometry2D.java:53–82  ·  view source on GitHub ↗

Sees if a line intersects with the circumference of a circle. @param x0 @param y0 @param x1 @param y1 @param cx centre of circle x position @param cy centre of circle y position @param r radius of circle @return true if the line intersects the circle else false

(double x0, double y0, double x1, double y1, double cx, double cy, double r)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

isEitherSideMethod · 0.95
isEitherSideMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected