Library for calculating lattice points for arbitrary 3D quadric surfaces.