The nearest shape to a point and its signed distance. Result returned by StrikingContact.nearest. The nearest shape's name and distance, or undefined without shapes.
Type Declaration
{distance:number;name:string}
distance: number
Signed queried-point-to-shape distance, metres; negative inside the shape.
name: string
Name of the nearest physical shape, as supplied by the queried shape collection.
The nearest shape to a point and its signed distance. Result returned by StrikingContact.nearest. The nearest shape's name and distance, or undefined without shapes.