Example usage for Java org.apache.commons.math3.geometry.euclidean.threed SphericalCoordinates fields, constructors, methods, implement or subclass
The text is from its open source code.
SphericalCoordinates(final Vector3D v) Build a spherical coordinates transformer from Cartesian coordinates. | |
SphericalCoordinates(final double r, final double theta, final double phi) Build a spherical coordinates transformer from spherical coordinates. |
Vector3D | getCartesian() Get the Cartesian coordinates. |
double | getPhi() Get the polar (co-latitude) angle. |
double | getTheta() Get the azimuthal angle in x-y plane. |
double[] | toCartesianGradient(final double[] sGradient) Convert a gradient with respect to spherical coordinates into a gradient with respect to Cartesian coordinates. |
double[][] | toCartesianHessian(final double[][] sHessian, final double[] sGradient) Convert a Hessian with respect to spherical coordinates into a Hessian with respect to Cartesian coordinates. |