|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectGeometryHelpers
public class GeometryHelpers
Grab bag of helper functions for geometric computation
| Nested Class Summary | |
|---|---|
static class |
GeometryHelpers.Circle
|
| Constructor Summary | |
|---|---|
GeometryHelpers()
|
|
| Method Summary | |
|---|---|
static double |
rayToCircle(double[] arrLfRayDir,
double[] arrLfRayOrg,
double[] arrLfCircCen,
double lfCircRadSqrd)
|
static void |
testCircleCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GeometryHelpers()
| Method Detail |
|---|
public static void testCircleCode()
public static double rayToCircle(double[] arrLfRayDir,
double[] arrLfRayOrg,
double[] arrLfCircCen,
double lfCircRadSqrd)
arrLfRayDir - direction of ray (not necc. unit length)arrLfRayOrg - position of ray originarrLfCircCen - position of circle centerlfCircRadSqrd - rad^2 of circle
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||