|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.cnes.sirius.patrius.fieldsofview.SectorField
public class SectorField
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
Constructor Summary | |
---|---|
SectorField(String name,
Vector3D vectorPole,
Vector3D vectorV1,
Vector3D vectorV2)
Constructor for the "sector" field of view. |
Method Summary | |
---|---|
double |
getAngularDistance(Vector3D direction)
Computes the angular distance between a vector and the border of the field. |
String |
getName()
|
boolean |
isInTheField(Vector3D direction)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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)Method Detail |
---|
public double getAngularDistance(Vector3D direction)
getAngularDistance
in interface IFieldOfView
direction
- the direction vector
public boolean isInTheField(Vector3D direction)
isInTheField
in interface IFieldOfView
direction
- a direction vector
public String getName()
getName
in interface IFieldOfView
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |