摘要: c#中并未提供类型GIS的空间结构,把点、圆、矩形、多边形等封装在一起,但是基本的空间位置关系还是可以判断的: //判断点与矩形、圆及多边形的位置关系 public class PointHelper { public static Boolean PointInRect(Point p,Rectangle rect) { return rect.Contains(p); } public static Boolean PointInCircle(Point p, Point circleSt... 阅读全文
posted @ 2013-07-01 16:13 nygfcn 阅读(977) 评论(0) 推荐(0)