public enum VisibilityTrigger extends Enum<VisibilityTrigger>
FieldOfViewDetector
Enum Constant and Description |
---|
VISIBLE_AS_SOON_AS_PARTIALLY_IN_FOV
触发器,当部分接触视野时被视为可见的天体。
|
VISIBLE_ONLY_WHEN_FULLY_IN_FOV
触发器,仅当完全位于视野内部时才被视为可见的天体。
|
Modifier and Type | Method and Description |
---|---|
double |
radiusCorrection(double angularRadius)
应用半径校正。
|
static VisibilityTrigger |
valueOf(String name)
返回具有指定名称的此类型的枚举常量。
|
static VisibilityTrigger[] |
values()
返回一个包含此枚举类型常量的数组,按声明顺序排列。
|
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
- 要返回的枚举常量的名称。
IllegalArgumentException
- 如果此枚举类型没有具有指定名称的常量
NullPointerException
- 如果参数为null
public double radiusCorrection(double angularRadius)
angularRadius
- 目标天体的角半径
Copyright © 2002-2023 CS GROUP. All rights reserved.