Quantcast
Viewing all articles
Browse latest Browse all 2341

New Post: stange behavior

Seems like the expected behavior to me. pntOld= shap.Point(0) creates no copy of point, you reference internally stored point. In the second case you assign values to your own point instance which is correct way to go for your scenario. Also when Shapefile.FastMode is set to true, shape.Point(0) will create a new instance on each call, so there won't be this first behavior.

Viewing all articles
Browse latest Browse all 2341

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>