An array-type PSD (position-sensitive detector) for light pattern measurement