Pyramid

constructor(position: Point = Point.ORIGIN, width: Double = 1.0, depth: Double = 1.0, height: Double = 1.0)

Parameters

position

The minimum-corner origin point of the base (default Point.ORIGIN)

width

The extent of the base along the x-axis (must be positive, default 1.0)

depth

The extent of the base along the y-axis (must be positive, default 1.0)

height

The height of the apex above the base along the z-axis (must be positive, default 1.0)