/** * Warning: Currently, this only compares the actual shape, *not* the channel, timepoint or z-slice. * However this may change in the future. * A * * TODO: Consider comparing channels, time-points & z-slices. */ public static boolean containsShape(final PathShape shape1, final PathShape shape2) { return containsShape(getShape(shape1), getShape(shape2)); }