- All Implemented Interfaces:
Serializable
,Comparable<DistanceOperatorName>
,ControlledVocabulary
@UML(identifier="DistanceOperatorName",
specification=ISO_19143)
public final class DistanceOperatorName
extends CodeList<DistanceOperatorName>
Nature of the spatial operation computed with geometries and a distance parameter.
- Since:
- 3.1
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opengis.util.CodeList
CodeList.Filter
-
Field Summary
Modifier and TypeFieldDescriptionstatic final DistanceOperatorName
Operator evaluates totrue
when all of a feature's geometry lies beyond (is more distant) than a given distance from the filter geometry.static final DistanceOperatorName
Operator evaluates totrue
when any part of the first geometry lies within the given distance of the second geometry. -
Method Summary
Modifier and TypeMethodDescriptionfamily()
Returns the list of codes of the same kind as this code list element.static DistanceOperatorName
Returns the distance operator that matches the given string, or returns a new one if none match it.static DistanceOperatorName[]
values()
Returns the list ofDistanceOperatorName
s.Methods inherited from class org.opengis.util.CodeList
compareTo, identifier, name, ordinal, readResolve, toString, valueOf, valueOf, valueOf, values
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.opengis.util.ControlledVocabulary
names
-
Field Details
-
BEYOND
@UML(identifier="Beyond", obligation=CONDITIONAL, specification=ISO_19143) public static final DistanceOperatorName BEYONDOperator evaluates totrue
when all of a feature's geometry lies beyond (is more distant) than a given distance from the filter geometry. More specifically:Beyond(A,B,d) = Distance(A,B) > d
-
WITHIN
@UML(identifier="DWithin", obligation=CONDITIONAL, specification=ISO_19143) public static final DistanceOperatorName WITHINOperator evaluates totrue
when any part of the first geometry lies within the given distance of the second geometry. More specifically:Within(A,B,d) = Distance(A,B) < d
-
-
Method Details
-
values
Returns the list ofDistanceOperatorName
s.- Returns:
- the list of codes declared in the current JVM.
-
family
Returns the list of codes of the same kind as this code list element. Invoking this method is equivalent to invokingvalues()
, except that this method can be invoked on an instance of the parentCodeList
class.- Specified by:
family
in interfaceControlledVocabulary
- Specified by:
family
in classCodeList<DistanceOperatorName>
- Returns:
- all code values for this code list.
-
valueOf
Returns the distance operator that matches the given string, or returns a new one if none match it. This methods returns the first instance (in declaration order) for which the name is equals, ignoring case, to the given name. If no existing instance is found, then a new one is created for the given name.- Parameters:
code
- the name of the code to fetch or to create.- Returns:
- a code matching the given name.
-