List of usage examples for org.apache.commons.math3.geometry.spherical.twod SphericalPolygonsSet getEnclosingCap
public EnclosingBall<Sphere2D, S2Point> getEnclosingCap()
From source file:org.orekit.propagation.events.GeographicZoneDetector.java
/** Build a detector. * @param maxCheck maximal checking interval (s) * @param threshold convergence threshold (s) * @param body body on which the geographic zone is defined * @param zone geographic zone to consider * @param margin angular margin to apply to the zone *///from w w w.j a va 2s . c om public GeographicZoneDetector(final double maxCheck, final double threshold, final BodyShape body, final SphericalPolygonsSet zone, final double margin) { this(maxCheck, threshold, DEFAULT_MAX_ITER, new StopOnIncreasing<GeographicZoneDetector>(), body, zone, zone.getEnclosingCap(), margin); }