See section 11.16.5 for checking for equilateral triangles in two-dimensional geometry.
The is_equilateral command takes as argument either three points or a geometric object.
is_equilateral returns 1 if the points are the vertices of an equilateral triangle or if the object is an equilateral triangle.
Input:
Output:
Input:
then:
Output:
Input:
Output: