A geometric approach to the analysis of black holes and spacetime invariants