/// <summary> /// Returns distance to point x,y /// </summary> public SmartDouble DistancePythagorean(SmartDouble x, SmartDouble y) { return(PointDGeometry.DistancePythagorean(X, Y, x, y)); }
/// <summary> /// Returns distance to p. /// </summary> public SmartDouble DistancePythagorean(PointD p) { return(PointDGeometry.DistancePythagorean(this, p)); }