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 vector (expressed in the tropocentric coordinate system of the object)public boolean isInTheField(Vector3D direction)
isInTheField
in interface IFieldOfView
direction
- a direction vector (expressed in the topocentric coordinate system of the object)public String getName()
getName
in interface IFieldOfView
Copyright © 2023 CNES. All rights reserved.