Transforms a point using the given transform.
a transform
the point to transform
return location for the transformed point