|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.cnes.sirius.patrius.fieldsofview.CircularField
public final class CircularField
This class describes a right circular field of view to be used in "instruments" part properties. It implements the IFieldOfView interface and so provides the associated services.
IFieldOfView| Constructor Summary | |
|---|---|
CircularField(String name,
double angularAperture,
Vector3D mainDirection)
Constructor for a circular 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 CircularField(String name,
double angularAperture,
Vector3D mainDirection)
name - the name of the fieldangularAperture - the angular aperture : must be strictly between 0 and PImainDirection - the direction defining the center of the field| 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 IFieldOfView
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||