|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hedgehog.HObject
com.hedgehog.geo.ProjectionType
public class ProjectionType
Title: ProjectionType - indicates the type of projection.
Description: Indicates the type of projection.
Copyright: Copyright (c) Hedgehog Software 2007-2009.
Company: Hedgehog Software.
| Field Summary | |
|---|---|
protected int |
mProjectionType
The projection type. |
static int |
OBLIQUE
Indicates an oblique projection. |
static int |
ORTHOGRAPHIC
Indicates a orthographic projection. |
static int |
ORTHOGRAPHIC_XY_PLANE
Indicates an orthographic projection onto xy-plane. |
static int |
ORTHOGRAPHIC_XZ_PLANE
Indicates an orthographic projection onto xz-plane. |
static int |
ORTHOGRAPHIC_YZ_PLANE
Indicates an orthographic projection onto yz-plane. |
static int |
PERSPECTIVE
Indicates a perspective projection. |
static int |
STEREOGRAPHIC
Indicates a Stereographic projection. |
| Fields inherited from class com.hedgehog.HObject |
|---|
mID, mName |
| Constructor Summary | |
|---|---|
ProjectionType()
Default constructor. |
|
ProjectionType(int projectionType)
Constructor. |
|
ProjectionType(ProjectionType object)
Copy constructor. |
|
| Method Summary | |
|---|---|
int |
getProjectionType()
Returns the projection type. |
boolean |
isObliqueProjection()
Tests whether or not the projection type is OBLIQUE. |
boolean |
isOrthographicProjection()
Tests whether or not the projection type is ORTHOGRAPHIC. |
boolean |
isOrthographicXYPlaneProjection()
Tests whether or not the projection type is ORTHOGRAPHIC_XY_PLANE. |
boolean |
isOrthographicXZPlaneProjection()
Tests whether or not the projection type is ORTHOGRAPHIC_XZ_PLANE. |
boolean |
isOrthographicYZPlaneProjection()
Tests whether or not the projection type is ORTHOGRAPHIC_YZ_PLANE. |
boolean |
isPersectiveProjection()
Tests whether or not the projection type is PERSPECTIVE. |
boolean |
isStereographicProjection()
Tests whether or not the projection type is STEREOGRAPHIC. |
static boolean |
isValid(int projectionType)
Tests whether or not the specified projection type is valid. |
static java.lang.String |
projectionTypeToString(int projectionType)
Returns a string equivalent of the specifed projection type. |
void |
setProjectionType(int projectionType)
Sets the projection type. |
java.lang.String |
toString()
Returns a String representation of a ProjectionType object. |
| Methods inherited from class com.hedgehog.HObject |
|---|
clone, compare, compareTo, copy, equals, getID, getName, hashCode, hasID, hasName, setID, setName |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected int mProjectionType
public static int PERSPECTIVE
public static int OBLIQUE
public static int ORTHOGRAPHIC
public static int ORTHOGRAPHIC_XY_PLANE
public static int ORTHOGRAPHIC_YZ_PLANE
public static int ORTHOGRAPHIC_XZ_PLANE
public static int STEREOGRAPHIC
| Constructor Detail |
|---|
public ProjectionType()
public ProjectionType(int projectionType)
projectionType - The projection type.public ProjectionType(ProjectionType object)
object - Object to copy.| Method Detail |
|---|
public int getProjectionType()
public void setProjectionType(int projectionType)
throws java.lang.IllegalArgumentException
projectionType - New projection type.
java.lang.IllegalArgumentException - Thrown if the specified projection type is invalid.public boolean isPersectiveProjection()
public boolean isObliqueProjection()
public boolean isOrthographicProjection()
public boolean isOrthographicXYPlaneProjection()
public boolean isOrthographicYZPlaneProjection()
public boolean isOrthographicXZPlaneProjection()
public boolean isStereographicProjection()
public java.lang.String toString()
toString in class java.lang.Objectpublic static boolean isValid(int projectionType)
projectionType - Projection type.
public static java.lang.String projectionTypeToString(int projectionType)
projectionType - Projection type.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||