public static bool IsInRangeOf2D(this ISpatial s, ISpatial spatial, float distance) { return(s.DistanceTo2D(spatial) < distance); }
public static bool IsInRangeOf2D(this ISpatial s, Vector3 position, float distance) { return(s.DistanceTo2D(position) < distance); }