sknano.core.atoms.XYZAtom.rezero_xyz

XYZAtom.rezero_xyz(epsilon=1e-10)[source][source]

Re-zero position vector components.

Set position vector components with absolute value less than epsilon to zero.

Unlike the Atom.rezero method, this method does not call the super class rezero method.

Parameters:

epsilon : float

smallest allowed absolute value of any \(x,y,z\) component.