implemented copy Point2D<T> ctors for different data types.
implemented safe casting operations.