sknano.core.atoms.StructureAtom.rezero_xyz

StructureAtom.rezero_xyz(epsilon=1e-10)[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.