• Quick scan to check whether sourceModel has any geometry the projector can usefully emit in the given mode. Lets callers (panels, batch tools) skip projection entirely when the source is e.g. a point cloud or a line-only model, instead of letting buildDrawing build and destroy an empty target SceneModel and emit a console-level error.

    • "lines" — needs at least one triangle-flavoured geometry with non-empty edgeIndices. Used by the wireframe path.
    • "fill" — needs at least one triangle-flavoured geometry with non-empty indices. Used by the fill-extraction path.
    • "either" — passes if either of the above holds.

    Triangle-flavoured means TrianglesPrimitive, SolidPrimitive, or SurfacePrimitive — the three primitives the rasteriser and edge walker know how to consume.

    Parameters

    • sourceModel: SceneModel
    • mode: "fill" | "lines" | "either" = "either"

    Returns boolean