AutoMovie API
    Preparing search index...

    Whether a camera-local segment meets a perspective frustum, its faces included.

    Both ends are already in the camera's frame, looking down −Z with +Y up, so a caller testing many segments of one body transforms each corner once rather than once per segment. The frustum is bounded by the near and far depths and by the side planes through the lens and the crop's NDC edges at halfX and halfY tangents. A segment touching a face counts as meeting it.

    Inputs are borrowed and no validation runs here. Callers must supply finite endpoints, positive ordered clip distances, positive finite tangents, a valid crop and representable intermediate arithmetic. The boolean includes face contact under floating-point clipping; it measures no rendered pixels or occlusion.

    type IProps = {
        crop: IAutoMovieDeliveryCropNdc;
        far: number;
        from: IAutoMovieVector3;
        halfX: number;
        halfY: number;
        near: number;
        to: IAutoMovieVector3;
    }
    Index

    Validated full-gate NDC crop edges from deliveryCropNdc; the four edges directly define the side planes.

    far: number

    Finite far depth in metres greater than near; the far face is included.

    Segment start in camera-local metres: +X right, +Y up, -Z forward.

    halfX: number

    Positive finite horizontal half-field tangent, tan(fovY/2) times delivered width/height.

    halfY: number

    Positive finite vertical half-field tangent, tan(fovY/2), with the angle converted to radians before tan.

    near: number

    Positive finite near depth in metres in front of the lens; the near face is included.

    Segment end in the same frame; equality with from is permitted as a point test.