Cylindrical constructor
Implementation
Cylindrical([num? radius, num? theta, num? y]) {
this.radius = (radius != null) ? radius : 1.0; // distance from the origin to a point in the x-z plane
this.theta = (theta != null)
? theta
: 0; // counterclockwise angle in the x-z plane measured in radians from the positive z-axis
this.y = (y != null) ? y : 0; // height above the x-z plane
}