I have a BoxGeometry here, which forms a cube, what i want to acheive is to get the center vertex position of all the faces of the cube?
const boxGeometry = new THREE.BoxGeometry(1.5,1.5,1.5,2,2,2);
const material = new THREE.MeshBasicMaterial({
color:0xffffff,
wireframe:true,
});
const mesh = new THREE.Mesh(boxGeometry,material);
Can anyone help me figure out this?

Each face is defined by a triplet of indices of vertices.
As an option to find centers: