AutoMovie API
    Preparing search index...
    IResult: { x: number; z: number } | null

    Choose an anchor from the widest convex piece of a footprint.

    A fresh coordinate record or null when decomposition yields no positive-area piece. The anchor is the chosen piece's vertex mean, not its area centroid or the whole footprint's centroid; height is deliberately absent.

    Type Declaration

    • { x: number; z: number }
      • x: number

        Fresh anchor's world X coordinate in metres, the arithmetic mean of the chosen convex piece's vertex x values.

      • z: number

        Fresh anchor's world Z coordinate in metres, paired with x; height must be evaluated by the surface owner.

    • null