Cartesian3

external class Cartesian3(var x: Double = definedExternally, var y: Double = definedExternally, var z: Double = definedExternally)(source)

A 3D Cartesian point.

See also

Constructors

Link copied to clipboard
constructor(x: Double = definedExternally, y: Double = definedExternally, z: Double = definedExternally)

Types

Link copied to clipboard

Properties

Link copied to clipboard
var x: Double

The X component. Default value - 0.0

Link copied to clipboard
var y: Double

The Y component. Default value - 0.0

Link copied to clipboard
var z: Double

The Z component. Default value - 0.0

Functions

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

Duplicates this Cartesian3 instance.

Link copied to clipboard
fun equalsEpsilon(right: Cartesian3? = definedExternally, relativeEpsilon: Double? = definedExternally, absoluteEpsilon: Double? = definedExternally): Boolean

Compares this Cartesian against the provided Cartesian componentwise and returns true if they pass an absolute or relative tolerance test, false otherwise.