modify curve surface intersect sample to take into account trimmed surfaces