Class: Spherical

zen3d.Spherical(radiusopt, phiopt, thetaopt)

new Spherical(radiusopt, phiopt, thetaopt)

Parameters:
Name Type Attributes Default Description
radius number <optional>
1
phi number <optional>
0
theta number <optional>
0
Author:
  • bhouston / http://clara.io
  • WestLangley / http://github.com/WestLangley
  • shawn0326 / http://halflab.me Ref: https://en.wikipedia.org/wiki/Spherical_coordinate_system The poles (phi) are at the positive and negative y axis. The equator starts at positive z.
Source:

Methods

clone()

Source:

copy()

Source:

makeSafe()

Restrict phi to be betwee EPS and PI-EPS.
Source:

set()

Source:

setFromVector3()

Source: