How do I get vertices and faces from THREE.BufferGeometry

basically tintintin. How do I get the point and face data from a buffer geometry which I get from a THREE.Mesh

See from the Collection of examples from discourse.threejs.org

TorusFlat
RemoveTriangles

ChangeColorOfFaceByClick