public final class CircularField extends Object implements IGeometricFieldOfView
IFieldOfView,
Serialized Form| Constructor and Description |
|---|
CircularField(String name,
double halfOpening,
Vector3D mainDirection)
Constructor for a circular field of view.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getAngularDistance(Vector3D direction,
AngularDistanceType method)
Computes the angular distance between a vector and the border of the field.
|
double |
getAngularOpening(Vector3D directionIn)
Get the angular opening of the Field Of View (FOV) over a given direction.
|
double |
getHalfAngularAperture()
Returns the half-aperture.
|
Vector3D |
getMainDirection()
Get the main direction of the geometrical FOV.
|
String |
getName() |
boolean |
isInTheField(Vector3D direction) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAngularDistancepublic CircularField(String name, double halfOpening, Vector3D mainDirection)
name - the name of the fieldhalfOpening - the half angular opening : must be strictly between 0 and PImainDirection - the direction defining the center of the fieldpublic double getAngularOpening(Vector3D directionIn)
getAngularOpening in interface IGeometricFieldOfViewdirectionIn - the direction vector (expressed in the topocentric coordinate system of the object)public double getAngularDistance(Vector3D direction, AngularDistanceType method)
Several methods can be defined for the computation. The user can choose the more appropriate one from the enum
AngularDistanceType.
getAngularDistance in interface IGeometricFieldOfViewdirection - the direction vector (expressed in the topocentric coordinate system of the object)method - Defines the method to compute the distance from the enum AngularDistanceTypepublic boolean isInTheField(Vector3D direction)
isInTheField in interface IFieldOfViewdirection - a direction vector (expressed in the topocentric coordinate system of the object)public String getName()
getName in interface IFieldOfViewpublic double getHalfAngularAperture()
public Vector3D getMainDirection()
getMainDirection in interface IGeometricFieldOfViewCopyright © 2025 CNES. All rights reserved.