sp2 hybridized carbons will have a trigonal planar geometry if it is bonded to three atoms and will be in the same plane as these three atoms. It only makes sense since the geometry is called trigonal planar. It must be true, then, that two sp2 hybridized carbons with an atom in between them will be in the same plane. Of course, this extends to atoms other than just carbon.