public final class CircularField extends Object implements IFieldOfView
IFieldOfView
,
Serialized FormConstructor and Description |
---|
CircularField(String name,
double halfAngularAperture,
Vector3D mainDirection)
Constructor for a circular field of view.
|
Modifier and Type | Method and Description |
---|---|
double |
getAngularDistance(Vector3D direction)
Computes the angular distance between a vector and the border of the field.
|
double |
getHalfAngularAperture()
Returns the half-aperture.
|
String |
getName() |
boolean |
isInTheField(Vector3D direction) |
public CircularField(String name, double halfAngularAperture, Vector3D mainDirection)
name
- the name of the fieldhalfAngularAperture
- the half angular aperture : must be strictly between 0 and PImainDirection
- the direction defining the center of the fieldpublic double getAngularDistance(Vector3D direction)
getAngularDistance
in interface IFieldOfView
direction
- the direction vector (expressed in the topocentric coordinate system of the object)public boolean isInTheField(Vector3D direction)
isInTheField
in interface IFieldOfView
direction
- a direction vector (expressed in the topocentric coordinate system of the object)public String getName()
getName
in interface IFieldOfView
public double getHalfAngularAperture()
Copyright © 2021 CNES. All rights reserved.