The endpoints of the segments define the sides and angles.