Package geomss.j3d
Enum ProjectionPolicy
- java.lang.Object
-
- java.lang.Enum<ProjectionPolicy>
-
- geomss.j3d.ProjectionPolicy
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ProjectionPolicy>
public enum ProjectionPolicy extends java.lang.Enum<ProjectionPolicy>
An enumeration of projection policy type codes. These constants indicate the type of projection matrix that should be generated for a particular scene.Modified by: Joseph A.Huwaldt
- Version:
- September 6, 2015
- Author:
- Joseph A. Huwaldt, Date: Arpil 1, 2011
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PARALLEL_PROJECTION
PERSPECTIVE_PROJECTION
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProjectionPolicy
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ProjectionPolicy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PARALLEL_PROJECTION
public static final ProjectionPolicy PARALLEL_PROJECTION
-
PERSPECTIVE_PROJECTION
public static final ProjectionPolicy PERSPECTIVE_PROJECTION
-
-
Method Detail
-
values
public static ProjectionPolicy[] 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 (ProjectionPolicy c : ProjectionPolicy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProjectionPolicy 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
-
-