Example usage for org.apache.commons.math3.geometry.spherical.twod SphericalPolygonsSet getEnclosingCap

List of usage examples for org.apache.commons.math3.geometry.spherical.twod SphericalPolygonsSet getEnclosingCap

Introduction

In this page you can find the example usage for org.apache.commons.math3.geometry.spherical.twod SphericalPolygonsSet getEnclosingCap.

Prototype

public EnclosingBall<Sphere2D, S2Point> getEnclosingCap() 

Source Link

Document

Get a spherical cap enclosing the polygon.

Usage

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);
}