One nearest pair of points between two shapes: pointA on the first and pointB on the second,
the distance between them, and on each side what the point lies on (a vertex, an edge or a face),
that sub-shape's index as shapes.vertex.getVertices, shapes.edge.getEdges or
shapes.face.getFaces numbers it, and where on it: on a face u and v as fractions of its UV
bounds, as shapes.face.pointOnUV takes them; on an edge u as a fraction of the edge from its
start to its end as it runs, and v 0; on a vertex both 0. When one shape lies inside a solid of
the other, the one pair is at distance 0 on a vertex of the inner shape, and the index of the side
that contains the other is -1.
One nearest pair of points between two shapes:
pointAon the first andpointBon the second, the distance between them, and on each side what the point lies on (a vertex, an edge or a face), that sub-shape's index asshapes.vertex.getVertices,shapes.edge.getEdgesorshapes.face.getFacesnumbers it, and where on it: on a faceuandvas fractions of its UV bounds, asshapes.face.pointOnUVtakes them; on an edgeuas a fraction of the edge from its start to its end as it runs, andv0; on a vertex both 0. When one shape lies inside a solid of the other, the one pair is at distance 0 on a vertex of the inner shape, and the index of the side that contains the other is -1.