Previous Up Next

12.7.9  The altitude of a triangle: altitude

The altitude command takes as argument three points representing the vertices of a triangle.

altitude returns and draws the altitude line, through the point given by the first argument and perpendicular to the line determined by the other two arguments.
Input:

altitude(0,1,i)

Output:


Previous Up Next