Home Reference Source
import Polar3D from 'three-nebula/src/math/Polar3D.js'
public class | source

Polar3D

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

phi: *

public

radius: *

public

theta: *

public

The class type.

Method Summary

Public Methods
public

clear(): *

public

clone(): *

public

copy(p: *): *

public

equals(v: *): *

public

getX(): *

public

getY(): *

public

getZ(): *

public

normalize(): *

public

set(radius: *, theta: *, phi: *): *

public

setPhi(phi: *): *

public

setRadius(radius: *): *

public

setTheta(theta: *): *

public

toVector3D(): *

Public Constructors

public constructor() source

Public Members

public phi: * source

public radius: * source

public theta: * source

public type: string source

The class type.

Public Methods

public clear(): * source

Return:

*

public clone(): * source

Return:

*

public copy(p: *): * source

Params:

NameTypeAttributeDescription
p *

Return:

*

public equals(v: *): * source

Params:

NameTypeAttributeDescription
v *

Return:

*

public getX(): * source

Return:

*

public getY(): * source

Return:

*

public getZ(): * source

Return:

*

public normalize(): * source

Return:

*

public set(radius: *, theta: *, phi: *): * source

Params:

NameTypeAttributeDescription
radius *
theta *
phi *

Return:

*

public setPhi(phi: *): * source

Params:

NameTypeAttributeDescription
phi *

Return:

*

public setRadius(radius: *): * source

Params:

NameTypeAttributeDescription
radius *

Return:

*

public setTheta(theta: *): * source

Params:

NameTypeAttributeDescription
theta *

Return:

*

public toVector3D(): * source

Return:

*