Changed Point3D to public