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

Method line_box_xywh

Processing/game2dai/maths/Geometry2D.java:640–666  ·  view source on GitHub ↗

Determine whether a line intersects with a box. The box is represented by the top-left corner coordinates and the box width and height. @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 cor

(double lx0, double ly0, double lx1, double ly1, double rx0, double ry0, double rWidth, double rHeight)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

addMethod · 0.95

Calls 1

outcodeMethod · 0.95

Tested by

no test coverage detected