Intonation is setting the lengths of the strings so that they LINE UP accurately with the frets. In order to accomplish this, a reference to the FRETS must be made.
So to set intonation, you compare the 12th fret fretted note to either 1)the open string or 2)the 12th fret harmonic. Usually, the 12th fret harmonic is used. When these agree, then your intonation is set.