umber >= 0, they intersects.</p><p class="javadoc">Parameters:</p><table class="table table-bordered params"><tr><th style="width:25%;"><code>p1</code></th><td><p>Point A of a segment on the first ray.</p></td></tr><tr><th style="width:25%;"><code>p2</code></th><td><p>Point B of a segment on the first ray.</p></td></tr><tr><th style="width:25%;"><code>p3</code></th><td><p>Point A of a segment on the second ray.</p></td></tr><tr><th style="width:25%;"><code>p4</code></th><td><p>Point B of a segment on the se