Previous Up Next

26.13.6  Area of a polygon

The area command finds the area of a circle or a star-shaped polygon.

Examples

area(triangle(0,1,i))
     
1
2
          
area(square(0,2))
     
4           

The area command has areaat and areaatraw versions (see Section 26.13.1).


Previous Up Next