|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.cnes.sirius.patrius.fieldsofview.EllipticField
public final class EllipticField
This class describes an elliptic field of view to be used in "instruments" part properties. It implements the IFieldOfView interface and provides the associated services.
IFieldOfView| Constructor Summary | |
|---|---|
EllipticField(String name,
Vector3D origin,
Vector3D mainDirection,
Vector3D majorSemiAxisDirection,
double angleA,
double angleB)
Constructor for an elliptic 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)
|
String |
toString()
Get a representation for this infinite oblique circular cone. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EllipticField(String name,
Vector3D origin,
Vector3D mainDirection,
Vector3D majorSemiAxisDirection,
double angleA,
double angleB)
name - the name of the fieldorigin - origin of the conemainDirection - the direction defining the center of the fieldmajorSemiAxisDirection - 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 correct| Method Detail |
|---|
public double getAngularDistance(Vector3D direction)
getAngularDistance in interface IFieldOfViewdirection - the direction vector
public boolean isInTheField(Vector3D direction)
isInTheField in interface IFieldOfViewdirection - a direction vector
public String getName()
getName in interface IFieldOfViewpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||