Asy-Atoms
An asymptote package for rendering atomic structures
Public Member Functions | Data Fields
Voxel Struct Reference
Collaboration diagram for Voxel:
Collaboration graph
[legend]

Public Member Functions

void setBasis (Basis b)
 
void setCoordinates (triple coords)
 
triple getCartesian ()
 
void draw ()
 
void operator init (real value, triple coordinates, Basis basis=CARTESIAN, real l=0, real lx=0, real ly=0, real lz=0)
 Constructor of a voxel element. More...
 

Data Fields

real value
 
pen color = red
 
triple coordinates
 
Basis basis
 
real lx
 
real ly
 
real lz
 

Member Function Documentation

void Voxel::operator init ( real  value,
triple  coordinates,
Basis  basis = CARTESIAN,
real  l = 0,
real  lx = 0,
real  ly = 0,
real  lz = 0 
)
inline

Constructor of a voxel element.

Parameters
elementSymbol for the Atom (e.g. C, N .. )
coordinateCoordinate in respect to the basis "basis"
basisBasis for the coordinates of the atom
lVoxel length (if set, then it sets lx, ly and lz)
lxVoxel x length
lyVoyel y length
lzVozel z length

The documentation for this struct was generated from the following file: