Trimming coordinate Arrays

A few days ago I started creating some (AS3) classes that made it easier to work with geometry.
One method in the Geom class lets you trim a shape (actually an Array of Points) with a Rectangle, trimming off everything that is outside of the Rectangle. Do note that is still a very early version, and [...]