export type IPosition = [number, number, number] | [number, number]; export type IPath = IPosition[]; export declare enum ShapeType3D { CYLINDER = "cylinder", SQUARECOLUMN = "squareColumn", TRIANGLECOLUMN = "triangleColumn", HEXAGONCOLUMN = "hexagonColumn", PENTAGONCOLUMN = "pentagonColumn" } export declare enum ShapeType2D { CIRCLE = "circle", SQUARE = "square", TRIANGLE = "triangle", HEXAGON = "hexagon", PENTAGON = "pentagon" } /** * 生成规则多边形顶点个数 * @param pointCount 顶点个数 3 => 三角形 * @param start 顶点起始角度 调整图形的方向 * @param angleOffset 额外的角度偏移,用于调整六边形方向 */ export declare function polygonPath(pointCount: number, start?: number, angleOffset?: number): IPath; export declare function circle(): IPath; export declare function square(): IPath; export declare function triangle(): IPath; export declare function hexagon(): IPath; export declare function pentagon(): IPath; export declare const geometryShape: { circle: typeof circle; hexagon: typeof hexagon; triangle: typeof triangle; square: typeof square; pentagon: typeof pentagon; cylinder: typeof circle; hexagonColumn: typeof hexagon; triangleColumn: typeof triangle; squareColumn: typeof square; pentagonColumn: typeof pentagon; };