export and document a 3d point class