org.geotools.ct
Class DomainFlags

java.lang.Object
  extended byjavax.media.jai.EnumeratedParameter
      extended byorg.geotools.ct.DomainFlags
All Implemented Interfaces:
java.io.Serializable

Deprecated. No replacement.

public final class DomainFlags
extends javax.media.jai.EnumeratedParameter

Flags indicating parts of domain covered by a convex hull. These flags can be combined. For example, the enum INSIDE.or(OUTSIDE) means that some parts of the convex hull are inside the domain, and some parts of the convex hull are outside the domain.

Version:
1.00
Author:
OpenGIS (www.opengis.org), Martin Desruisseaux
See Also:
CT_DomainFlags, Serialized Form

Field Summary
static DomainFlags DISCONTINUOUS
          Deprecated. At least one point in a convex hull is not transformed continuously.
static DomainFlags INSIDE
          Deprecated. At least one point in a convex hull is inside the transform's domain.
static DomainFlags OUTSIDE
          Deprecated. At least one point in a convex hull is outside the transform's domain.
 
Method Summary
static DomainFlags getEnum(int value)
          Deprecated. Return the enum for the specified value.
 java.lang.String[] getNames(java.util.Locale locale)
          Deprecated. Returns enum's names in the specified locale.
 DomainFlags or(DomainFlags flags)
          Deprecated. Returns a combination of two domain flags.
 
Methods inherited from class javax.media.jai.EnumeratedParameter
equals, getName, getValue, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

INSIDE

public static final DomainFlags INSIDE
Deprecated. 
At least one point in a convex hull is inside the transform's domain.

See Also:
CT_DomainFlags.CT_DF_Inside

OUTSIDE

public static final DomainFlags OUTSIDE
Deprecated. 
At least one point in a convex hull is outside the transform's domain.

See Also:
CT_DomainFlags.CT_DF_Outside

DISCONTINUOUS

public static final DomainFlags DISCONTINUOUS
Deprecated. 
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:
CT_DomainFlags.CT_DF_Discontinuous
Method Detail

getEnum

public static DomainFlags getEnum(int value)
                           throws java.util.NoSuchElementException
Deprecated. 
Return the enum for the specified value. This method is provided for compatibility with CT_DomainFlags.

Parameters:
value - The enum value.
Returns:
The enum for the specified value.
Throws:
java.util.NoSuchElementException - if there is no enum for the specified value.

getNames

public java.lang.String[] getNames(java.util.Locale locale)
Deprecated. 
Returns enum's names in the specified locale. For example if this enum has value "3", then getNames returns an array of two elements: "Inside" and "Outside".

Parameters:
locale - The locale, or null for the current default locale.
Returns:
Enum's names in the specified locale (never null).

or

public DomainFlags or(DomainFlags flags)
Deprecated. 
Returns a combination of two domain flags. This is equivalent to getEnum(this.getValue() | flags.getValue()).



Copyright © GeoTools. All Rights Reserved.