AutoMovie API
    Preparing search index...

    Variable validateSolidPlanesConst

    validateSolidPlanes: (
        planes: readonly IAutoMovieHalfSpacePlane[],
        path: string,
        label: string,
        out: IAutoMovieViolationCollector,
    ) => void = ...

    Check the half-spaces of one convex blocker.

    Shared by the context validator and by every adapter that accepts an authored shading solid, so a neighbour's mass and the building's own canopy are held to exactly the same standard.

    Violations are appended to out under path and worded with label; resident plane slots are visited by index and missing records are refused at their slot. The plane-array and other nested vector shapes remain a caller premise; this helper does not validate arbitrary container types. The checks are a plane count of at least AUTOMOVIE_ANALYSIS_MIN_SOLID_PLANES, finite normals longer than 1e-12, and finite offsets. Whether the planes enclose a non-empty, bounded region is not checked, so four or more planes describing an unbounded or empty set pass.

    Type Declaration

      • (
            planes: readonly IAutoMovieHalfSpacePlane[],
            path: string,
            label: string,
            out: IAutoMovieViolationCollector,
        ): void
      • Parameters

        • planes: readonly IAutoMovieHalfSpacePlane[]

          Half-spaces whose intersection is the solid; a point is inside one when dot(normal, point) <= offset.

        • path: string

          Violation path of the plane array, such as $input.occluders[0].planes.

        • label: string

          Kind of solid named in every message, such as occluder.

        • out: IAutoMovieViolationCollector

          Caller-owned sink the violations are appended to.

        Returns void