hyper_triangle definition and determine if three balls high dimensional space form a filled triangle