public enum Projector extends Enum<Projector>
Projection
to be used in making the starfield image.Enum Constant and Description |
---|
BEHRMANN |
EQUIRECTANGULAR |
HAMMER |
MCKINLEY |
STEREOSCOPIC |
Modifier and Type | Method and Description |
---|---|
Projection |
getProjection()
Return the corresponding implementation of
Projection . |
boolean |
isHalfSky()
Return true only if the projection will present a half-sky view, and not a whole-sky view.
|
static Projector |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Projector[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Projector STEREOSCOPIC
public static final Projector EQUIRECTANGULAR
public static Projector[] values()
for (Projector c : Projector.values()) System.out.println(c);
public static Projector valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic boolean isHalfSky()
public Projection getProjection()
Projection
.Starfield - Copyright Hirondelle Systems. Published March 1, 2014