List of usage examples for org.apache.commons.math3.geometry.spherical.twod S2Point getPhi
public double getPhi()
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 www . j av a 2 s .c o m protected GeodeticPoint toGeodetic(final S2Point point) { return new GeodeticPoint(0.5 * FastMath.PI - point.getPhi(), point.getTheta(), 0.0); }