Enum Multipolygon.PolyData.Intersection
- java.lang.Object
-
- java.lang.Enum<Multipolygon.PolyData.Intersection>
-
- org.openstreetmap.josm.data.osm.visitor.paint.relations.Multipolygon.PolyData.Intersection
-
- All Implemented Interfaces:
Serializable
,Comparable<Multipolygon.PolyData.Intersection>
- Enclosing class:
- Multipolygon.PolyData
public static enum Multipolygon.PolyData.Intersection extends Enum<Multipolygon.PolyData.Intersection>
The intersection type used forMultipolygon.PolyData.contains(java.awt.geom.Path2D.Double)
-
-
Constructor Summary
Constructors Modifier Constructor Description private
Intersection()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Multipolygon.PolyData.Intersection
valueOf(String name)
Returns the enum constant of this type with the specified name.static Multipolygon.PolyData.Intersection[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INSIDE
public static final Multipolygon.PolyData.Intersection INSIDE
The polygon is completely inside this PolyData
-
OUTSIDE
public static final Multipolygon.PolyData.Intersection OUTSIDE
The polygon is completely outside of this PolyData
-
CROSSING
public static final Multipolygon.PolyData.Intersection CROSSING
The polygon is partially inside and outside of this PolyData
-
-
Constructor Detail
-
Intersection
private Intersection()
-
-
Method Detail
-
values
public static Multipolygon.PolyData.Intersection[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Multipolygon.PolyData.Intersection c : Multipolygon.PolyData.Intersection.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Multipolygon.PolyData.Intersection valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-