org.vrforcad
Class CollisionUsingPick
java.lang.Object
org.vrforcad.CollisionUsingPick
public class CollisionUsingPick
- extends java.lang.Object
This class detect the collision between sphere tool and model.
- Version:
- 1.1
- Author:
- Daniel Cioi
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CollisionUsingPick
public CollisionUsingPick(javax.media.j3d.BranchGroup objroot)
collisionDetect
public double collisionDetect(javax.vecmath.Point3d sphereCenter,
javax.vecmath.Point3d sphereCenterF)
getCoordsIndex
public int[] getCoordsIndex()
getIndiceTriangle
public int getIndiceTriangle()
getClosestVertex
public javax.vecmath.Point3d getClosestVertex()
getClosestVertexVW
public javax.vecmath.Point3d getClosestVertexVW()