import { CellComplex } from './cell-complex.js'; import { type FaceLattice } from './face-lattice.js'; import { type Tetrahedralization } from './tetrahedralize-lattice.js'; /** * A face lattice compiled for rendering: the canonical topology, its * tetrahedralization (with provenance), and the render-oriented * `CellComplex` built from both. */ export interface CompiledPolytope { readonly lattice: FaceLattice; readonly tetrahedralization: Tetrahedralization; readonly complex: CellComplex; } /** * Compiles a rank-4 face lattice into a `CellComplex`: edges as one * 1-simplex group, 2-faces as polygon groups batched by arity (triangles * as simplices, matching existing builders), and the centroid-fan * tetrahedralization as one 3-simplex group. The complex's positions are * the source vertices followed by the helper centroids, so `tetToCell` * indexes render output directly. */ export declare function compileFaceLattice(lattice: FaceLattice, positions: Float64Array): CompiledPolytope; //# sourceMappingURL=compile-lattice.d.ts.map