private static boolean computeIntersectionOfPolygonsIfOnePolygonHasExactlyOneVertex(
     ConvexPolygon2d polygonWithExactlyOneVertex,
     ConvexPolygon2d otherPolygon,
     ConvexPolygon2d intersectingPolygon) {
   if (otherPolygon.pointIsOnPerimeter(polygonWithExactlyOneVertex.getVertex(0))) {
     intersectingPolygon.setAndUpdate(polygonWithExactlyOneVertex);
     return false;
   } else {
     intersectingPolygon.clearAndUpdate();
     return false;
   }
 }