import type { Device } from '@antv/g-device-api'; import { ProceduralGeometry } from './ProceduralGeometry'; export interface CapsuleGeometryProps { /** * The radius of the tube forming the body of the capsule */ radius: number; /** * The length of the body of the capsule from tip to tip */ height: number; /** * The number of divisions along the tubular length of the capsule */ heightSegments: number; /** * The number of divisions around the tubular body of the capsule */ sides: number; } export declare class CapsuleGeometry extends ProceduralGeometry { constructor(device: Device, props?: Partial); get radius(): number; set radius(v: number); get height(): number; set height(v: number); get heightSegments(): number; set heightSegments(v: number); get sides(): number; set sides(v: number); createTopology(): { indices: number[]; positions: number[]; normals: number[]; uvs: number[]; uv1s: number[]; }; } //# sourceMappingURL=CapsuleGeometry.d.ts.map