org.stellarium
Class Grid
java.lang.Object
org.stellarium.Grid
-
public class Grid
- extends java.lang.Object
Field Summary |
private float |
angle
Radius of each zone (in radians)
|
(package private)
javax.vecmath.Vector3d[] |
points
The zones positions
|
(package private) int[] |
result
|
(package private) double[][]
|
tempTab
|
Constructor Summary |
Grid()
|
Method Summary |
(package private) void |
draw()
|
int |
getNbPoints()
|
int |
getNearest(javax.vecmath.Tuple3d p)
|
int[] |
getResult()
|
int |
intersect(javax.vecmath.Tuple3d equVision,
double fieldAngle)
|
(package private) static void
|
moy(javax.vecmath.Vector3d[] p,
int a, int b, int c)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tempTab
double[][] tempTab
angle
private float angle
- Radius of each zone (in radians)
points
javax.vecmath.Vector3d[] points
- The zones positions
result
int[] result
Grid
public Grid()
moy
static void moy(javax.vecmath.Vector3d[] p,
int a,
int b,
int c)
-
getNearest
public int getNearest(javax.vecmath.Tuple3d p)
-
draw
void draw()
-
intersect
public int intersect(javax.vecmath.Tuple3d equVision,
double fieldAngle)
-
- Parameters:
equVision
-
fieldAngle
-
- Returns:
- An array with the number of the zones in the field of view
getResult
public int[] getResult()
-
getNbPoints
public int getNbPoints()
-