List of usage examples for org.apache.commons.math3.geometry.spherical.twod S2Point getTheta
public double getTheta()
From source file:org.orekit.models.earth.tessellation.EllipsoidTessellator.java
/** Convert a point on the unit 2-sphere to geodetic coordinates. * @param point point on the unit 2-sphere * @return geodetic point (arbitrarily set at altitude 0) *//*from w w w. ja v a 2 s. c om*/ protected GeodeticPoint toGeodetic(final S2Point point) { return new GeodeticPoint(0.5 * FastMath.PI - point.getPhi(), point.getTheta(), 0.0); }