implemented virtual method ~Triangle