 two shapes.</p>
<p>Those two shapes should be in the same scene, otherwise the result is undefined.</p><p class="javadoc">Parameters:</p><table class="table table-bordered params"><tr><th style="width:25%;"><code>shape1</code></th><td><p>The first <code><a href="../../nb/shape/Shape.html#Shape">nb.shape.Shape</a></code> instance.</p></td></tr><tr><th style="width:25%;"><code>shape2</code></th><td><p>The second <code><a href="../../nb/shape/Shape.html#Shape">nb.shape.Shape</a></code> instance.</p></td></tr>