public class SectorField extends Object implements IFieldOfView
This class defines a "sector" field of view. This field is a min/max longitude and min/max latitude aperture on the unit sphere. It is defined by three vectors : the local "north pole" vector for this sphere, the min latitude - min longitude point vector (V1) and the max latitude - max longitude point vector (V2).
IFieldOfView,
Serialized Form| Constructor and Description |
|---|
SectorField(String name,
Vector3D vectorPole,
Vector3D vectorV1,
Vector3D vectorV2)
Constructor for the "sector" 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.
|
String |
getName() |
boolean |
isInTheField(Vector3D direction) |
public SectorField(String name, Vector3D vectorPole, Vector3D vectorV1, Vector3D vectorV2)
name - the name of the fieldvectorPole - the local "north pole" direction on the unit sphere (will be normalized)vectorV1 - the min latitude - min longitude point vector on the unit sphere (will be normalized)vectorV2 - the max latitude - max longitude point vector on the unit sphere (will be normalized)public double getAngularDistance(Vector3D direction)
getAngularDistance in interface IFieldOfViewdirection - the direction vector (expressed in the topocentric coordinate system of the object)public 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.