|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object fr.cnes.sirius.patrius.fieldsofview.OmnidirectionalField
public final class OmnidirectionalField
This class describes an omnidirectional field of view : any vector is in it, the angular distance is always 1 (positive).
IFieldOfView
Constructor Summary | |
---|---|
OmnidirectionalField(String name)
Constructor of an omnidirectional field of view. |
Method Summary | |
---|---|
double |
getAngularDistance(Vector3D direction)
this method has no sense in the case of an omnidirectional field. |
String |
getName()
|
boolean |
isInTheField(Vector3D direction)
Any vector being in the field, this method always return true |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OmnidirectionalField(String name)
name
- the name of this fieldMethod Detail |
---|
public double getAngularDistance(Vector3D direction)
getAngularDistance
in interface IFieldOfView
direction
- the direction vector (unused)
public boolean isInTheField(Vector3D direction)
isInTheField
in interface IFieldOfView
direction
- the direction vector (unused)
public String getName()
getName
in interface IFieldOfView
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |