Thank you Jacob, this is fantastic. Certainly not simpler though… could you explain the purpose of transforming geometry from the world coordinate system to the local?
Lets say you want to move a bunch of polycurves instead of points. Or the geometry which represents an entire workspace. Or geometry which represents anything.
This is very easy to do without much issue using coordinate systems. It also helps that coordinate systems can be pulled directly from surfaces and curves, or created as above with vectors and origin points.