public static enum SurfaceDistanceDetector.BodyDistanceType extends Enum<SurfaceDistanceDetector.BodyDistanceType>
| Enum Constant and Description |
|---|
CLOSEST
Distance to the closest point of the body surface.
|
RADIAL
Distance from the closest point of the body surface aligned with the spacecraft and the body center.
|
| Modifier and Type | Method and Description |
|---|---|
abstract double |
getDistance(BodyPoint point)
Getter for the distance to the given point.
|
static SurfaceDistanceDetector.BodyDistanceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SurfaceDistanceDetector.BodyDistanceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SurfaceDistanceDetector.BodyDistanceType CLOSEST
public static final SurfaceDistanceDetector.BodyDistanceType RADIAL
public static SurfaceDistanceDetector.BodyDistanceType[] values()
for (SurfaceDistanceDetector.BodyDistanceType c : SurfaceDistanceDetector.BodyDistanceType.values()) System.out.println(c);
public static SurfaceDistanceDetector.BodyDistanceType 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 abstract double getDistance(BodyPoint point)
point - PointCopyright © 2025 CNES. All rights reserved.