|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectee.ut.mrz.volumest.Calculations
public class Calculations
Does "businesslogic" calculations. Has algorithms for area, volume and Coefficent of Error calculations.
| Constructor Summary | |
|---|---|
Calculations()
|
|
| Method Summary | |
|---|---|
static double |
getGridArea(int activePointsCount)
Returns selected area of single grid. |
static double |
getIrregularObjectCE(int[] grids,
int wholeObjectIntersections)
Returns coefficent of error assuming object is irreguler shape. |
static double |
getObjectVolume(int[] grids)
Returns object volume. |
static double |
getRegularObjectCE(int[] grids,
int wholeObjectIntersections)
Returns coefficent of error assuming object is regular shaped. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Calculations()
| Method Detail |
|---|
public static double getGridArea(int activePointsCount)
public static double getObjectVolume(int[] grids)
public static double getRegularObjectCE(int[] grids,
int wholeObjectIntersections)
public static double getIrregularObjectCE(int[] grids,
int wholeObjectIntersections)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||