Example #1
0
        public Polygon GetExploreBound()
        {
            var ext = new ExtendPolygon(_Mesh, _DetectionRange);

            return(ext.Result);
        }
Example #2
0
        public ExtendPolygon(Polygon polygon, float extend)
        {
            var newPoints = ExtendPolygon._GetPoints(polygon, extend);

            Result = new Polygon(newPoints.ToArray());
        }