public static enum Polygon.ContainsSouthPoleComputer extends java.lang.Enum<Polygon.ContainsSouthPoleComputer>
Enum Constant and Description |
---|
BASIC
Consider the south pole to be inside the polygon if the sum of consecutive longitude
differences equals 2pi and if there is more vertices in the south hemisphere than in the
north hemisphere.
|
PROVIDED_FALSE
We explicilty tell that the south pole is NOT inside the polygon.
|
PROVIDED_TRUE
We explicitly tell that the south pole is inside the polygon.
|
STD_FXP
Consider that the gravity center of the first 3 non-aligned vertices is inside the polygon
if it is on the left of the first two edges, then test is the south pole is inside or outside
the polygon.
|
STD_IVOA
Consider that the inside of the polygon is always located on the left part of each edge
(thus, the inside become the outside when considering the vertices list in reverse order),
then test is the south pole is inside or outside the polygon.
|
Modifier and Type | Method and Description |
---|---|
static Polygon.ContainsSouthPoleComputer |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Polygon.ContainsSouthPoleComputer[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Polygon.ContainsSouthPoleComputer PROVIDED_TRUE
public static final Polygon.ContainsSouthPoleComputer PROVIDED_FALSE
public static final Polygon.ContainsSouthPoleComputer BASIC
public static final Polygon.ContainsSouthPoleComputer STD_FXP
public static final Polygon.ContainsSouthPoleComputer STD_IVOA
public static Polygon.ContainsSouthPoleComputer[] values()
for (Polygon.ContainsSouthPoleComputer c : Polygon.ContainsSouthPoleComputer.values()) System.out.println(c);
public static Polygon.ContainsSouthPoleComputer valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2018 F.-X. Pineau, CDS, Observatoire Astronomique de Strasbourg, Universite de Strasbourg, CNRS. All Rights Reserved.