UNPKG

molstar

Version:

A comprehensive macromolecular library.

15 lines (14 loc) 1.07 kB
/** * Copyright (c) 2018-2023 mol* contributors, licensed under MIT, See LICENSE file for more info. * * @author Alexander Rose <alexander.rose@weirdbyte.de> * @author Gianluca Tomasello <giagitom@gmail.com> */ import { Vec3 } from '../../../../mol-math/linear-algebra'; import { MeshBuilder } from '../mesh-builder'; import { CylinderProps } from '../../../primitive/cylinder'; export type BasicCylinderProps = Omit<CylinderProps, 'height'>; export declare function addSimpleCylinder(state: MeshBuilder.State, start: Vec3, end: Vec3, props: BasicCylinderProps): void; export declare function addCylinder(state: MeshBuilder.State, start: Vec3, end: Vec3, lengthScale: number, props: BasicCylinderProps): void; export declare function addDoubleCylinder(state: MeshBuilder.State, start: Vec3, end: Vec3, lengthScale: number, shift: Vec3, props: BasicCylinderProps): void; export declare function addFixedCountDashedCylinder(state: MeshBuilder.State, start: Vec3, end: Vec3, lengthScale: number, segmentCount: number, stubCap: boolean, props: BasicCylinderProps): void;