Cylindrical

THREE.Cylindrical
class Cylindrical(var radius: UndefOr[Double], var theta: UndefOr[Double], var y: UndefOr[Double]) extends Object

A class representing cylindrical coordinates.

Cylindrical coordinates represent a position in 3D space using a distance from the origin (radius), an angle from the X axis on the XZ plane (theta), and a height above the XZ plane (y).

Attributes

Graph
Supertypes
class Object
trait Any
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def copy(other: Cylindrical): this.type

Copies values of radius, theta, and y properties from the given cylindrical.

Copies values of radius, theta, and y properties from the given cylindrical.

Attributes

Creates a new cylindrical with the same radius, theta, and y values as this one.

Creates a new cylindrical with the same radius, theta, and y values as this one.

Attributes

def set(radius: Double, theta: Double, y: Double): this.type

Sets values of this cylindrical's coordinates.

Sets values of this cylindrical's coordinates.

Attributes

def setFromCartesianCoords(x: Double, y: Double, z: Double): this.type

Sets values of this cylindrical's coordinates from a Cartesian vector.

Sets values of this cylindrical's coordinates from a Cartesian vector.

Attributes

def setFromVector3(vector3: Vector3): this.type

Sets values of this cylindrical's coordinates from a Vector3.

Sets values of this cylindrical's coordinates from a Vector3.

Attributes

Inherited methods

def hasOwnProperty(v: String): Boolean

Attributes

Inherited from:
Object
def isPrototypeOf(v: Object): Boolean

Attributes

Inherited from:
Object
def propertyIsEnumerable(v: String): Boolean

Attributes

Inherited from:
Object
def toLocaleString(): String

Attributes

Inherited from:
Object
def valueOf(): Any

Attributes

Inherited from:
Object

Concrete fields

var radius: UndefOr[Double]
var theta: UndefOr[Double]
var y: UndefOr[Double]