modified curve visitor to use a precomputed transform matrix from assembly tree