MCPcopy Create free account
hub / github.com/TheAlgorithms/JavaScript /

Class

Geometry/Cone.js:8–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6 * @param {number} height - The height of the cone
7 */
8export default class Cone {
9 constructor(baseRadius, height) {
10 this.baseRadius = baseRadius
11 this.height = height

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected