Java org.apache.commons.math3.geometry.euclidean.threed SphericalCoordinates fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.math3.geometry.euclidean.threed SphericalCoordinates fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.math3.geometry.euclidean.threed SphericalCoordinates.

The text is from its open source code.

Subclass

org.apache.commons.math3.geometry.euclidean.threed.SphericalCoordinates has subclasses.
Click this link to see all its subclasses.

Constructor

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.

Method

Vector3DgetCartesian()
Get the Cartesian coordinates.
doublegetPhi()
Get the polar (co-latitude) angle.
doublegetTheta()
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.