listingindent"><img src="../../../../../../fig/mpt/modules/geometry/sets/@Polyhedron/isneighbor_img_1.png" alt="../../../../../../fig/mpt/modules/geometry/sets/@Polyhedron/isneighbor_img_1.png" width="60%"></p> Check that polyhedron R1 touches polyhedron R2. <pre class="programlisting"> R1.isNeighbor(R2) </pre>
<pre class="programlisting">
ans =

     1

</pre> Check that the fourth facet of the polyhedron R2 touches the second facet of polyhedron R3.<pre class="programlisting"> [ts, iR2, iR3] = R2.isNeighb