/** * Copyright (c) 2021-2025 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author Alexander Rose */ import { Mat4, Vec3 } from '../mol-math/linear-algebra.js'; import { ParamDefinition as PD } from './param-definition.js'; export interface Clip { variant: Clip.Variant; objects: Clip.Objects; } export declare function Clip(): void; export declare namespace Clip { /** Clip object types */ const Type: { none: number; plane: number; sphere: number; cube: number; cylinder: number; infiniteCone: number; }; type Variant = 'instance' | 'pixel'; type Objects = { count: number; type: number[]; invert: boolean[]; position: number[]; rotation: number[]; scale: number[]; /** Transform point by this before testing */ transform: number[]; }; const Params: { variant: PD.Select; objects: PD.ObjectList; scale: Vec3; transform: Mat4; }>>; }; type Params = typeof Params; type Props = PD.Values; function getClip(props: Props, clip?: Clip): Clip; function areEqual(cA: Clip, cB: Clip): boolean; }