|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.cnes.sirius.patrius.fieldsofview.InvertField
public final class InvertField
This field of view contains an existing field and inverts it.
IFieldOfView| Constructor Summary | |
|---|---|
InvertField(String name,
IFieldOfView invertedField)
Constructor of the invert field of a given one. |
|
| Method Summary | |
|---|---|
double |
getAngularDistance(Vector3D direction)
Computes the angular distance between a vector and the border of the field. |
String |
getName()
|
boolean |
isInTheField(Vector3D direction)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InvertField(String name,
IFieldOfView invertedField)
name - the name of the new fieldinvertedField - the field to be inverted| Method Detail |
|---|
public double getAngularDistance(Vector3D direction)
getAngularDistance in interface IFieldOfViewdirection - the direction vector
public boolean isInTheField(Vector3D direction)
isInTheField in interface IFieldOfViewdirection - a direction vector
public String getName()
getName in interface IFieldOfView
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||