public final class OmnidirectionalField extends Object implements IFieldOfView
IFieldOfView,
Serialized Form| Constructor and Description |
|---|
OmnidirectionalField(String name)
Constructor of an omnidirectional field of view.
|
| Modifier and Type | Method and Description |
|---|---|
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
|
public OmnidirectionalField(String name)
name - the name of this fieldpublic double getAngularDistance(Vector3D direction)
getAngularDistance in interface IFieldOfViewdirection - the direction vector (unused)public boolean isInTheField(Vector3D direction)
isInTheField in interface IFieldOfViewdirection - the direction vector (unused)public String getName()
getName in interface IFieldOfViewCopyright © 2024 CNES. All rights reserved.