TrianglC++: added constructors