コード例 #1
0
        /// <summary>
        /// 判断点是否在轮廓里面
        /// </summary>
        /// <param name="pos"></param>
        /// <returns></returns>
        public bool CheckIn(Float2 pos)
        {
            Polygon2D poly = new Polygon2D(pts.ToArray());
            bool      ret  = poly.CheckIn(new Double2(pos.x, pos.y));

            return(ret);
        }