Read only signed metres from the same hull query. Every plane/edge test, first-winner comparison and volume refusal still runs; only unobserved final contact records are omitted. The implementation below owns both modes.
Preserve the original two-argument full-contact signature and its result type. It remains the last overload for Parameters/ReturnType consumers.
The nearest surface point of a convex hull to a point in the hull's own frame, with the outward normal there and the signed distance, negative inside.
Inside, the nearest surface point is the projection onto the face whose plane is closest, and the normal is that face's. Outside, it is the projection onto a facing face when that projection falls within the face's loop, and otherwise the nearest point on the edges of the facing faces; the normal then points from the surface point to the query point.
The planes and the edges are read from flat arrays built once per hull: a projection falls within a face's loop when it lies on the inner side of each edge, which is the sign of one product with the edge's inward direction in the face (the face normal crossed with the edge), as the query point and its projection differ along the normal only.
Param: points
The hull's shape-local points, metres, spanning a volume.
Param: p
The query point in the same frame.
Param: details
False for the distance alone; omitted for the original full contact.
Returns
Signed metres in scalar mode; otherwise that distance with the original surface point and outward unit normal in the points' frame.
Throws
When the points span no volume.