AutoMovie API
    Preparing search index...
    IProps: IAutoMoviePerspectiveFrustumLens & {
        camera: IAutoMovieResolvedCamera;
        center: IAutoMovieVector3;
        radius: number;
    }

    Whether a world-space sphere may intersect a perspective-camera frustum.

    The sphere's centre is brought into the camera frame and its signed distance to each of the six planes compared with the radius. Each side plane passes through the lens, and its distance is normalized by the plane's own hypot(1, tangent), so callers must not approximate the radius by padding projected NDC coordinates. Like every plane-by-plane sphere test this is conservative near the frustum's edges and corners: a sphere just outside a corner yet within radius of both adjacent planes answers true. Under exact-real arithmetic the geometric approximation errs toward visible: the viewer's formation culling keeps such a member drawn, and measureAutoMovieGeometry counts it as visible. A non-finite or negative radius answers false. A malformed crop throws the RangeError of deliveryCropNdc only if radius and depth checks reach the side planes; an earlier false result skips that conversion. Finite centres, valid lens scalars, nearly unit camera rotation and representable intermediate products are premises; boundary rounding is not certified.

    Type Declaration

    • camera: IAutoMovieResolvedCamera

      World placement in metres and nearly unit rotation; camera looks along local -Z.

    • center: IAutoMovieVector3

      Finite sphere centre in world metres.

    • radius: number

      Radius in metres; nonfinite or negative values return false, zero is a point.