radiansToUnitNormalRay MethodStatic
- if ellipsoid is given, return its surface point and unit normal as a Ray3d.
- if not given, return surface point and unit normal for unit sphere.
radiansToUnitNormalRay(ellipsoid: Ellipsoid | undefined, thetaRadians: number, phiRadians: number, result?: Ray3d): Ray3d | undefined
Parameter | Type | Description |
---|---|---|
ellipsoid | Ellipsoid | undefined | |
thetaRadians | number | |
phiRadians | number | |
result | Ray3d |
Defined in
Last Updated: 08 January, 2020