Inheritence using Point3d and Shape3d