public enum VisibilityTrigger extends Enum<VisibilityTrigger>
CircularFieldOfViewDetector
,
FieldOfViewDetector
Enum Constant and Description |
---|
VISIBLE_AS_SOON_AS_PARTIALLY_IN_FOV
Trigger for bodies that are considered visible as soon as a part touches Field Of View.
|
VISIBLE_ONLY_WHEN_FULLY_IN_FOV
Trigger for bodies that are considered visible only when fully inside Field Of View.
|
Modifier and Type | Method and Description |
---|---|
double |
radiusCorrection(double angularRadius)
Apply radius correction.
|
static VisibilityTrigger |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VisibilityTrigger[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VisibilityTrigger VISIBLE_ONLY_WHEN_FULLY_IN_FOV
public static final VisibilityTrigger VISIBLE_AS_SOON_AS_PARTIALLY_IN_FOV
public static VisibilityTrigger[] values()
for (VisibilityTrigger c : VisibilityTrigger.values()) System.out.println(c);
public static VisibilityTrigger 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 double radiusCorrection(double angularRadius)
angularRadius
- target body angular radiusCopyright © 2002-2020 CS Group. All rights reserved.