pyNastran
0.5.0
pyNastran BDF Reader/Writer, OP2 Parser, and GUI
|
\[ r = \rho = \sqrt(x^2+y^2+z^2) \]
\[ \theta = tan^-1(\frac{y}{x}) \]
\[ \phi = cos^-1(\frac{z}{r}) \]
More...Public Member Functions | |
def | coordToXYZ |
def | XYZtoCoord |
\[ r = \rho = \sqrt(x^2+y^2+z^2) \]
\[ \theta = tan^-1(\frac{y}{x}) \]
\[ \phi = cos^-1(\frac{z}{r}) \]
\[ x = r cos(\theta)sin(\phi) \]
\[ y = r sin(\theta)sin(\phi) \]
\[ z = r cos(\phi) \]
\[ p = [x,y,z] + e_1 \]
http://en.wikipedia.org/wiki/Spherical_coordinate_system
Definition at line 312 of file coordinateSystems.py.
def pyNastran.bdf.cards.coordinateSystems.SphericalCoord.coordToXYZ | ( | self, | |
p | |||
) |
Definition at line 313 of file coordinateSystems.py.
References pyNastran.bdf.cards.coordinateSystems.SphericalCoord.XYZtoCoord().
Referenced by pyNastran.bdf.cards.coordinateSystems.Cord2x.transformToGlobal().
def pyNastran.bdf.cards.coordinateSystems.SphericalCoord.XYZtoCoord | ( | self, | |
p | |||
) |
Definition at line 322 of file coordinateSystems.py.
References pyNastran::bdf::cards::coordinateSystems.__init__(), pyNastran.bdf.cards.coordinateSystems.Coord.isResolved, pyNastran.bdf.cards.coordinateSystems.Cord2x.isResolved, and pyNastran.bdf.cards.coordinateSystems.Cord1x.isResolved.
Referenced by pyNastran.bdf.cards.coordinateSystems.SphericalCoord.coordToXYZ().