AutoMovie API
    Preparing search index...

    Where a segment comes nearest a shape.

    interface IResult {
        at: IAutoMovieVector3;
        distance: number;
        normal: IAutoMovieVector3;
        point: IAutoMovieVector3;
    }
    Index

    The nearest point of the segment, world metres.

    distance: number

    Signed distance, metres; negative when the segment enters.

    Outward unit normal of the surface at point, world frame.

    The nearest point of the shape's surface, world metres.