public enum BspOccupation extends Enum<BspOccupation>
Enumeration that tells what part of space divided by a boundary an entity occupies
| Modifier and Type | Method and Description |
|---|---|
static BspOccupation |
get(boolean intersectsNegative,
boolean intersectsPositive)
Get occupation matching the parameters
|
boolean |
intersectsNegative()
Tell whether entity intersect negative part
|
boolean |
intersectsPositive()
Tell whether entity intersect positive part
|
static BspOccupation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BspOccupation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BspOccupation NEGATIVE
public static final BspOccupation POSITIVE
public static final BspOccupation BOTH
public static BspOccupation[] values()
for (BspOccupation c : BspOccupation.values()) System.out.println(c);
public static BspOccupation 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 static BspOccupation get(boolean intersectsNegative, boolean intersectsPositive)
public boolean intersectsNegative()
public boolean intersectsPositive()
Copyright © 2018 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All rights reserved.