Triangular contour class