|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbarsuift.simLife.j3d.util.NormalHelper
public final class NormalHelper
| Method Summary | |
|---|---|
static javax.vecmath.Vector3f |
computeNormal(javax.vecmath.Point3d p1,
javax.vecmath.Point3d p2,
javax.vecmath.Point3d p3)
Computes the normal vector based on the surface defined by the 3 given points |
static javax.vecmath.Vector3f |
computeNormal(javax.vecmath.Point3f p1,
javax.vecmath.Point3f p2,
javax.vecmath.Point3f p3)
Computes the normal vector based on the surface defined by the 3 given points |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static javax.vecmath.Vector3f computeNormal(javax.vecmath.Point3f p1,
javax.vecmath.Point3f p2,
javax.vecmath.Point3f p3)
p1 - first pointp2 - second pointp3 - third point
public static javax.vecmath.Vector3f computeNormal(javax.vecmath.Point3d p1,
javax.vecmath.Point3d p2,
javax.vecmath.Point3d p3)
p1 - first pointp2 - second pointp3 - third point
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||