Asking for your kind help: The code or algorithm for calculating the volumes and surfaces of atoms

Hello! Thank you for your excellent product of BIOVIA MATERIALS STUDIO! I am interested in calculating the volumes and surfaces of atoms. Would you be so kind as to share the corresponding code or algorithm for these calculations? Many thanks!