org.jmol.modelset
Class BoxInfo

java.lang.Object
  extended by org.jmol.modelset.BoxInfo

public class BoxInfo
extends java.lang.Object


Field Summary
private  javax.vecmath.Point3f bbCenter
           
private  javax.vecmath.Point3f bbCorner0
           
private  javax.vecmath.Point3f bbCorner1
           
private  javax.vecmath.Vector3f bbVector
           
private  javax.vecmath.Point3f[] bbVertices
           
private static javax.vecmath.Point3f[] unitBboxPoints
           
 
Constructor Summary
BoxInfo()
           
 
Method Summary
(package private)  void addBoundBoxPoint(javax.vecmath.Point3f pt)
           
(package private)  javax.vecmath.Point3f[] getBboxVertices()
           
 javax.vecmath.Point3f getBoundBoxCenter()
           
 javax.vecmath.Vector3f getBoundBoxCornerVector()
           
(package private)  java.util.Hashtable getBoundBoxInfo()
           
 javax.vecmath.Point3f[] getBoundBoxPoints()
           
(package private)  boolean isWithin(javax.vecmath.Point3f pt)
           
(package private)  void reset()
           
(package private)  void setBbcage()
           
(package private)  void setBoundBox(javax.vecmath.Point3f pt1, javax.vecmath.Point3f pt2, boolean byCorner)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bbCorner0

private final javax.vecmath.Point3f bbCorner0

bbCorner1

private final javax.vecmath.Point3f bbCorner1

bbCenter

private final javax.vecmath.Point3f bbCenter

bbVector

private final javax.vecmath.Vector3f bbVector

bbVertices

private final javax.vecmath.Point3f[] bbVertices

unitBboxPoints

private static final javax.vecmath.Point3f[] unitBboxPoints
Constructor Detail

BoxInfo

public BoxInfo()
Method Detail

getBoundBoxCenter

public javax.vecmath.Point3f getBoundBoxCenter()

getBoundBoxCornerVector

public javax.vecmath.Vector3f getBoundBoxCornerVector()

getBoundBoxPoints

public javax.vecmath.Point3f[] getBoundBoxPoints()

getBboxVertices

javax.vecmath.Point3f[] getBboxVertices()

getBoundBoxInfo

java.util.Hashtable getBoundBoxInfo()

setBoundBox

void setBoundBox(javax.vecmath.Point3f pt1,
                 javax.vecmath.Point3f pt2,
                 boolean byCorner)

reset

void reset()

addBoundBoxPoint

void addBoundBoxPoint(javax.vecmath.Point3f pt)

setBbcage

void setBbcage()

isWithin

boolean isWithin(javax.vecmath.Point3f pt)