AutoMovie API
    Preparing search index...

    Interface IAutoMovieSignedMeshQueryHit

    Owned nearest-feature reading from one compiled oriented surface, returned by the query createAutoMovieSignedMeshQuery compiles.

    Vectors use the mesh-local metre frame. The query owns its compiled snapshot; changing these returned vectors cannot alter later readings. A boundary feature on an open sheet has no qualified interior-side classification.

    interface IAutoMovieSignedMeshQueryHit {
        boundary: boolean;
        distance: number;
        feature: "face" | "vertex" | "edge";
        normal: number[];
        point: number[];
        signedDistance: number;
        triangle: number;
    }
    Index
    boundary: boolean

    True when the nearest support is an open sheet's rim edge or rim vertex, whose reported side is not a side of the sheet's interior; always false for a closed surface.

    distance: number

    Nonnegative Euclidean separation from the query point, in metres.

    feature: "face" | "vertex" | "edge"

    Support of the nearest point: face for a projection strictly inside the triangle, edge for the interior of a closed edge segment, and vertex when the projection clamps to a corner.

    normal: number[]

    Unit oriented pseudonormal of the nearest feature, XYZ in the mesh-local frame: the face normal, the normalized sum of an edge's incident face normals, or the angle-weighted vertex normal. A rim edge uses its single face's normal.

    point: number[]

    Nearest surface point, XYZ in mesh-local metres, owned by the caller.

    signedDistance: number

    distance signed by the side of normal the query point lies on: positive on the oriented exterior, negative inside, and zero when the point is on the feature's tangent plane through point.

    triangle: number

    Triangle ordinal in the original input index buffer; among equally near features the lowest ordinal wins.