[Py QGIS cookbook] Debugging Vector Layers

QgsGeometry has no vectorType but a type method
processing has no getfeatures but a features method
Vector layer has a selectedFeatures method to accessing only selected
features.