public final class InvertField extends Object implements IFieldOfView
IFieldOfView
,
Serialized FormConstructor and Description |
---|
InvertField(String name,
IFieldOfView invertedField)
Constructor of the invert field of a given one.
|
Modifier and Type | Method and Description |
---|---|
double |
getAngularDistance(Vector3D direction)
Computes the angular distance between a vector and the border of the field.
|
String |
getName() |
boolean |
isInTheField(Vector3D direction) |
public InvertField(String name, IFieldOfView invertedField)
name
- the name of the new fieldinvertedField
- the field to be invertedpublic double getAngularDistance(Vector3D direction)
getAngularDistance
in interface IFieldOfView
direction
- the direction vectorpublic boolean isInTheField(Vector3D direction)
isInTheField
in interface IFieldOfView
direction
- a direction vectorpublic String getName()
getName
in interface IFieldOfView
Copyright © 2020 CNES. All rights reserved.