Would this not lend itself to having seperate classes implementing IPoint?
Something like:
public interface IPoint
{
T X { get; set; }
T Y { get; set; }
}
public class IntegerPoint : IPoint
{
public int X { get; set; }
public int Y { get; set; }
}
As the calculations will have to differ in each implementation anyway right?
Dan#