import { Vector3Like } from "@amodx/math"; import { BoundingBox } from "@amodx/math/Geometry/Bounds/BoundingBox"; export interface IVoxelSelection = any> { origin: Vector3Like; bounds: BoundingBox; isSelected(x: number, y: number, z: number): boolean; clone(): IVoxelSelection; toJSON(): Data; fromJSON(data: Data): void; } export interface IVoxelSelectionData { type: Type; origin: Vector3Like; bounds: Vector3Like; } export interface IVoxelSelectionConstructor = any> { new (): IVoxelSelection; }