public final class OmnidirectionalField extends Object implements IFieldOfView
IFieldOfView
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 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
Copyright © 2019 CNES. All rights reserved.