add missing nearestPointQuery & segmentQuery for cp.Shape