public final class EllipticField extends Object implements IGeometricFieldOfView
IFieldOfView,
Serialized Form| Constructor and Description |
|---|
EllipticField(String name,
Vector3D origin,
Vector3D mainDirection,
Vector3D semiMajAxisDir,
double angleA,
double angleB)
Constructor for an elliptic 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.
|
Vector3D |
getMainDirection()
Get the main direction of the geometrical FOV.
|
String |
getName() |
boolean |
isInTheField(Vector3D direction) |
String |
toString()
Get a representation for this infinite oblique circular cone.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAngularDistancepublic EllipticField(String name, Vector3D origin, Vector3D mainDirection, Vector3D semiMajAxisDir, double angleA, double angleB)
name - the name of the fieldorigin - origin of the conemainDirection - the direction defining the center of the fieldsemiMajAxisDir - the direction defining the semi major axis of the fieldangleA - the angular aperture along semi major axis (in rad)angleB - the angular aperture along semi minor axis (in rad)IllegalArgumentException - if the origin is not correctpublic 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 double getAngularOpening(Vector3D directionIn)
getAngularOpening in interface IGeometricFieldOfViewdirectionIn - the direction vector (expressed in the topocentric coordinate system of the object)public Vector3D getMainDirection()
getMainDirection in interface IGeometricFieldOfViewpublic 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 IFieldOfViewCopyright © 2025 CNES. All rights reserved.