public interface IBoundary
Modifier and Type  Method and Description 

IVector 
centralImage(IVector r)
Determines the translation vector needed to apply a periodicimage
transformation that moves the given point to an image point within the
boundary (if it lies outside, in a direction subject to periodic
imaging).

IBox 
getBox()
Returns the boundary's IBox.

IVector 
getBoxSize()
Returns the length of the sides of a rectangular box oriented in the lab
frame and in which the boundary is inscribed.

IVector 
getCenter() 
IVector 
getEdgeVector(int d)
Returns the vector that defines the edge of this boundary for the given
dimension.

IBoundaryEventManager 
getEventManager() 
boolean 
getPeriodicity(int d)
Returns true if the boundary is periodic in the given direction (as
defined by the getEdgeVector method).

void 
nearestImage(IVectorMutable dr)
The nearest image is the pair of atom images that are closest when all
periodicboundary images are considered.

void 
setBox(IBox newBox)
Sets the box that holds the IBoundary.

void 
setBoxSize(IVector v)
Scales the boundary dimensions such that the boundary's would be
inscribed within a rectangle of the of the given size.

double 
volume() 
void setBox(IBox newBox)
IBox getBox()
double volume()
IVector centralImage(IVector r)
r
 vector position of untransformed point; r is not changed by
this methodvoid nearestImage(IVectorMutable dr)
IVector getBoxSize()
void setBoxSize(IVector v)
IVector getEdgeVector(int d)
boolean getPeriodicity(int d)
IVector getCenter()
IBoundaryEventManager getEventManager()