UNPKG

molstar

Version:

A comprehensive macromolecular library.

15 lines (14 loc) 524 B
/** * Copyright (c) 2019 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author Alexander Rose <alexander.rose@weirdbyte.de> */ import { ShapeGetter } from '../../mol-repr/shape/representation'; import { Geometry, GeometryUtils } from '../../mol-geo/geometry/geometry'; export interface ShapeProvider<D, G extends Geometry, P extends Geometry.Params<G>> { label: string; data: D; params: P; getShape: ShapeGetter<D, G, P>; geometryUtils: GeometryUtils<G>; }