public static enum Polyside.Result extends Enum<Polyside.Result>
| Enum Constant and Description | 
|---|
Edge
The point is on the edge of the polygon 
 | 
Inside
The point is unambiguously inside the polygon 
 | 
Outside
The point is unambiguously outside the polygon 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
isCovered()
Indicates whether the polygon covers the specified coordinates 
 | 
static Polyside.Result | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static Polyside.Result[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final Polyside.Result Outside
public static final Polyside.Result Inside
public static final Polyside.Result Edge
public static Polyside.Result[] values()
for (Polyside.Result c : Polyside.Result.values()) System.out.println(c);
public static Polyside.Result valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean isCovered()
Copyright © 2021. All rights reserved.