org.jmol.modelset

Class BoxInfo

public class BoxInfo extends Object

Field Summary
Point3fbbCenter
Point3fbbCorner0
Point3fbbCorner1
Vector3fbbVector
Point3f[]bbVertices
static Point3f[]unitBboxPoints
Method Summary
voidaddBoundBoxPoint(Point3f pt)
Point3f[]getBboxVertices()
Point3fgetBoundBoxCenter()
Vector3fgetBoundBoxCornerVector()
HashtablegetBoundBoxInfo()
Point3f[]getBoundBoxPoints()
booleanisWithin(Point3f pt)
voidreset()
voidsetBbcage()
voidsetBoundBox(Point3f pt1, Point3f pt2, boolean byCorner)

Field Detail

bbCenter

private final Point3f bbCenter

bbCorner0

private final Point3f bbCorner0

bbCorner1

private final Point3f bbCorner1

bbVector

private final Vector3f bbVector

bbVertices

private final Point3f[] bbVertices

unitBboxPoints

private static final Point3f[] unitBboxPoints

Method Detail

addBoundBoxPoint

void addBoundBoxPoint(Point3f pt)

getBboxVertices

Point3f[] getBboxVertices()

getBoundBoxCenter

public Point3f getBoundBoxCenter()

getBoundBoxCornerVector

public Vector3f getBoundBoxCornerVector()

getBoundBoxInfo

Hashtable getBoundBoxInfo()

getBoundBoxPoints

public Point3f[] getBoundBoxPoints()

isWithin

boolean isWithin(Point3f pt)

reset

void reset()

setBbcage

void setBbcage()

setBoundBox

void setBoundBox(Point3f pt1, Point3f pt2, boolean byCorner)