change the source cod Dreieck.h struct to Class