get vertices from object