org.opengis.ct
Class CT_DomainFlags

java.lang.Object
  extended byorg.opengis.ct.CT_DomainFlags
All Implemented Interfaces:
java.io.Serializable

public class CT_DomainFlags
extends java.lang.Object
implements java.io.Serializable

Flags indicating parts of domain covered by a convex hull. These flags can be combined. For example, the value 3 corresponds to a combination of CT_DF_Inside and CT_DF_Outside, which means that some parts of the convex hull are inside the domain, and some parts of the convex hull are outside the domain.

Since:
1.00
Version:
1.01
Author:
Martin Daly, Martin Desruisseaux
See Also:
Serialized Form

Field Summary
static int CT_DF_Discontinuous
          At least one point in a convex hull is not transformed continuously.
static int CT_DF_Inside
          At least one point in a convex hull is inside the transform's domain.
static int CT_DF_Outside
          At least one point in a convex hull is outside the transform's domain.
private static long serialVersionUID
          Use serialVersionUID from first draft for interoperability with CSS 1.00.
 int value
          The enum value.
 
Constructor Summary
CT_DomainFlags()
          Construct an empty enum value.
CT_DomainFlags(int value)
          Construct a new enum value.
 
Method Summary
 boolean equals(java.lang.Object object)
          Compares the specified object with this enum for equality.
 int hashCode()
          Returns the enum value.
 java.lang.String toString()
          Returns a string représentation of this enum.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Use serialVersionUID from first draft for interoperability with CSS 1.00.

See Also:
Constant Field Values

CT_DF_Inside

public static final int CT_DF_Inside
At least one point in a convex hull is inside the transform's domain.

See Also:
Constant Field Values

CT_DF_Outside

public static final int CT_DF_Outside
At least one point in a convex hull is outside the transform's domain.

See Also:
Constant Field Values

CT_DF_Discontinuous

public static final int CT_DF_Discontinuous
At least one point in a convex hull is not transformed continuously. As an example, consider a "Longitude_Rotation" transform which adjusts longitude coordinates to take account of a change in Prime Meridian. If the rotation is 5 degrees east, then the point (Lat=0,Lon=175) is not transformed continuously, since it is on the meridian line which will be split at +180/-180 degrees.

See Also:
Constant Field Values

value

public int value
The enum value.

Constructor Detail

CT_DomainFlags

public CT_DomainFlags()
Construct an empty enum value. Caller must initialize value.


CT_DomainFlags

public CT_DomainFlags(int value)
Construct a new enum value.

Method Detail

hashCode

public int hashCode()
Returns the enum value.


equals

public boolean equals(java.lang.Object object)
Compares the specified object with this enum for equality.


toString

public java.lang.String toString()
Returns a string représentation of this enum. The returned string is implementation dependent. It is usually provided for debugging purposes only.