nk 1.0.0
C++ Numerical Computing Runtime
Loading...
Searching...
No Matches
nk::builtin::SphTriple Struct Reference

Result of 3D Cartesian to spherical conversion ([az, el, r] = cart2sph(x, y, z)). More...

#include <elfun.hpp>

Public Attributes

Value az
 Azimuth angle in radians in interval [-pi, pi].
Value el
 Elevation angle in radians in interval [-pi/2, pi/2].
Value r
 Radial distance from origin (sqrt(x^2 + y^2 + z^2)).

Detailed Description

Result of 3D Cartesian to spherical conversion ([az, el, r] = cart2sph(x, y, z)).

Definition at line 484 of file elfun.hpp.

Member Data Documentation

◆ az

Value nk::builtin::SphTriple::az

Azimuth angle in radians in interval [-pi, pi].

Definition at line 485 of file elfun.hpp.

◆ el

Value nk::builtin::SphTriple::el

Elevation angle in radians in interval [-pi/2, pi/2].

Definition at line 486 of file elfun.hpp.

◆ r

Value nk::builtin::SphTriple::r

Radial distance from origin (sqrt(x^2 + y^2 + z^2)).

Definition at line 487 of file elfun.hpp.


The documentation for this struct was generated from the following file: