Package cds.healpix
Enum NestedEllipticalConeComputerApprox.Mode
- java.lang.Object
-
- java.lang.Enum<NestedEllipticalConeComputerApprox.Mode>
-
- cds.healpix.NestedEllipticalConeComputerApprox.Mode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<NestedEllipticalConeComputerApprox.Mode>
- Enclosing class:
- NestedEllipticalConeComputerApprox
public static enum NestedEllipticalConeComputerApprox.Mode extends java.lang.Enum<NestedEllipticalConeComputerApprox.Mode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FULLY_IN
OVERLAPPING_CELLS
OVERLAPPING_CENTERS
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract boolean
isOk(EllipticalCone ellipse, VerticesAndPathComputer vpc, long hash, double cellCenterLon, double cellCenterLat)
static NestedEllipticalConeComputerApprox.Mode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static NestedEllipticalConeComputerApprox.Mode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OVERLAPPING_CELLS
public static final NestedEllipticalConeComputerApprox.Mode OVERLAPPING_CELLS
-
OVERLAPPING_CENTERS
public static final NestedEllipticalConeComputerApprox.Mode OVERLAPPING_CENTERS
-
FULLY_IN
public static final NestedEllipticalConeComputerApprox.Mode FULLY_IN
-
-
Method Detail
-
values
public static NestedEllipticalConeComputerApprox.Mode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (NestedEllipticalConeComputerApprox.Mode c : NestedEllipticalConeComputerApprox.Mode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NestedEllipticalConeComputerApprox.Mode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
isOk
public abstract boolean isOk(EllipticalCone ellipse, VerticesAndPathComputer vpc, long hash, double cellCenterLon, double cellCenterLat)
-
-