Hi,
I’m trying to translate (move) a point using Geometry.Translate(vector,double) and use resulting point later.
My problem is that it Geometry.Translate() returns Geometry and not Point. How should I convert it, or what’s the correct approach?
if you know it’s a point - do as Point
- you can also do a cast (point)geo
1 Like
Hi Michael,
I was trying to use (Point)geo like the regular explicit casting of basic types and it didn’t work, maybe I was missing something, but your second option “as” worked.
Thank you so much