Public API for Triangle