starry / backend /libs /three /geometries /ConeGeometry.d.ts
k-l-lambda's picture
feat: add Python ML services (CPU mode) with model download
2b7aae2
import { CylinderGeometry } from './CylinderGeometry';
export class ConeGeometry extends CylinderGeometry {
/**
* @param [radius=1] — Radius of the cone base.
* @param [height=1] — Height of the cone.
* @param [radialSegments=8] — Number of segmented faces around the circumference of the cone.
* @param [heightSegments=1] — Number of rows of faces along the height of the cone.
* @param [openEnded=false] — A Boolean indicating whether the base of the cone is open or capped.
* @param [thetaStart=0]
* @param [thetaLength=Math.PI * 2]
*/
constructor(
radius?: number,
height?: number,
radialSegments?: number,
heightSegments?: number,
openEnded?: boolean,
thetaStart?: number,
thetaLength?: number
);
/**
* @default 'ConeGeometry'
*/
type: string;
static fromJSON(data: any): ConeGeometry;
}
export { ConeGeometry as ConeBufferGeometry };