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

Method line_line_p

Processing/game2dai/maths/Geometry2D.java:183–201  ·  view source on GitHub ↗

Find the point of intersection between two lines. This method uses Vector2D objects to represent the line end points. @param v0 start of line 1 @param v1 end of line 1 @param v2 start of line 2 @param v3 end of line 2 @return a Vector2D object holding the intersection coordinates else null if n

(Vector2D v0, Vector2D v1, Vector2D v2, Vector2D v3)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

wallAvoidanceMethod · 0.95

Calls 1

absMethod · 0.80

Tested by

no test coverage detected