Spherical

external class Spherical(var clock: Double = definedExternally, var cone: Double = definedExternally, var magnitude: Double = definedExternally)(source)

A set of curvilinear 3-dimensional coordinates.

See also

Constructors

Link copied to clipboard
constructor(clock: Double = definedExternally, cone: Double = definedExternally, magnitude: Double = definedExternally)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The angular coordinate lying in the xy-plane measured from the positive x-axis and toward the positive y-axis. Default value - 0.0

Link copied to clipboard

The angular coordinate measured from the positive z-axis and toward the negative z-axis. Default value - 0.0

Link copied to clipboard

The linear coordinate measured from the origin. Default value - 1.0

Functions

Link copied to clipboard
fun clone(result: Spherical? = definedExternally): Spherical

Creates a duplicate of this Spherical.

Link copied to clipboard
fun equalsEpsilon(other: Spherical, epsilon: Double): Boolean

Returns true if this spherical is within the provided epsilon of the provided spherical, false otherwise.