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

Method line_box_xyxy

Processing/game2dai/maths/Geometry2D.java:596–625  ·  view source on GitHub ↗

Determine whether a line intersects with a box. The box is represented by the top-left and bottom-right corner coordinates. @param lx0 start of line @param ly0 start of line @param lx1 end of line @param ly1 end of line @param rx0 top-left corner of rectangle @param ry0 top-left corner of recta

(double lx0, double ly0, double lx1, double ly1, double rx0, double ry0, double rx1, double ry1)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

isInDomainMethod · 0.95
isEitherSideMethod · 0.95

Calls 1

outcodeMethod · 0.95

Tested by

no test coverage detected