Spherical

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

A class for spherical coordinates.

Spherical coordinates represent a position in 3D space using a distance from origin (radius), an angle from the y (polar) axis, and an angle around the y axis (equator).

Attributes

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

Members list

Value members

Concrete methods

def copy(other: Spherical): this.type
def makeSafe(): this.type
def set(radius: Double, phi: Double, theta: Double): this.type
def setFromCartesianCoords(x: Double, y: Double, z: Double): this.type
def setFromVector3(v: Vector3): this.type

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 phi: UndefOr[Double]
var radius: UndefOr[Double]
var theta: UndefOr[Double]