UNPKG

geometric-pack

Version:

Geometric pack with lots of available calculations for 2D and 3D geometry

15 lines (14 loc) 521 B
import { GetDefinition } from "../../models/get-definition"; import { CylinderDefinition } from "./models/cylinder-definition"; export declare class Cylinder implements GetDefinition<CylinderDefinition> { radius: number; height: number; constructor(...args: number[]); private validateInput; private hasNegative; getDefinition(): CylinderDefinition; getVolume(): number; getLateralSurfaceArea(): number; getBaseSurfaceArea(): number; getTotalSurfaceArea(): number; }