|
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.media.jai.EnumeratedParameter
org.deegree.model.csct.ct.DomainFlags
public final class DomainFlags
Flags indicating parts of domain covered by a convex hull. These flags can be combined. For
example, the enum
means that some parts of
the convex hull are inside the domain, and some parts of the convex hull are outside the domain.
INSIDE
.or(OUTSIDE
)
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. |
static DomainFlags |
DISCONTINUOUS
At least one point in a convex hull is not transformed continuously. |
static DomainFlags |
INSIDE
At least one point in a convex hull is inside the transform's domain. |
static DomainFlags |
OUTSIDE
At least one point in a convex hull is outside the transform's domain. |
Method Summary | |
---|---|
static DomainFlags |
getEnum(int value)
Return the enum for the specified value. |
String[] |
getNames(Locale locale)
Returns enum's names in the specified locale. |
DomainFlags |
or(DomainFlags flags)
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 |
---|
public static final int CT_DF_Inside
public static final int CT_DF_Outside
public static final int CT_DF_Discontinuous
public static final DomainFlags INSIDE
public static final DomainFlags OUTSIDE
public static final DomainFlags DISCONTINUOUS
Method Detail |
---|
public static DomainFlags getEnum(int value) throws NoSuchElementException
value
- The enum value.
NoSuchElementException
- if there is no enum for the specified value.public String[] getNames(Locale locale)
getNames
returns an array of two elements: "Inside" and "Outside".
locale
- The locale, or null
for the current default locale.
null
).public DomainFlags or(DomainFlags flags)
getEnum(this.getValue() | flags.getValue())
.
flags
-
getEnum(this.getValue() | flags.getValue())
.
|
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net