|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbarsuift.simLife.j3d.util.AreaHelper
public final class AreaHelper
| Method Summary | |
|---|---|
static double |
computeArea(javax.vecmath.Point3d p1,
javax.vecmath.Point3d p2,
javax.vecmath.Point3d p3)
Computes the area of the given triangle, formed by the given 3 points |
static double |
computeArea(javax.media.j3d.TriangleArray triangle)
Computes the area of the given triangle. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static double computeArea(javax.media.j3d.TriangleArray triangle)
triangle - the triangle to compute area for
public static double computeArea(javax.vecmath.Point3d p1,
javax.vecmath.Point3d p2,
javax.vecmath.Point3d p3)
p1 - first point of the trianglep2 - second point of the trianglep3 - third point of the triangle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||