change PointD, F constructors to public