Cylindrical

A point's cylindrical coordinates.

Constructor

Cylindrical(radius : Float, theta : Float, y : Float)

radius - distance from the origin to a point in the x-z plane. Default is 1.0.
theta - counterclockwise angle in the x-z plane measured in radians from the positive z-axis. Default is 0.
y - height above the x-z plane. Default is 0.

Properties

.radius : Float

.theta : Float

.y : Float

Methods

.clone () : Cylindrical

Returns a new cylindrical with the same radius, theta and y properties as this one.

.copy (other : Cylindrical) : this

Copies the values of the passed Cylindrical's radius, theta and y properties to this cylindrical.

.set (radius : Float, theta : Float, y : Float) : this

Sets values of this cylindrical's radius, theta and y properties.

.setFromVector3 (vec3 : Vector3) : this

Sets values of this cylindrical's radius, theta and y properties from the Vector3.

.setFromCartesianCoords (x : Float, y : Float, z : Float) : this

Sets values of this cylindrical's radius, theta and y properties from Cartesian coordinates.

Source

For more info on how to obtain the source code of this module see this page.