public static PortablePoint From <T> (T origin) { PortablePoint result = new PortablePoint(); result.X = (origin as dynamic).X; result.Y = (origin as dynamic).Y; return(result); }
public bool Equals(PortablePoint value) { return(System.Math.Abs(value.X - X) < EPSILON && System.Math.Abs(value.Y - Y) < EPSILON); }