Calculates the area of a regular polygon.
The number of sides
The side length
The apothem length
// Returns 100const area = Chalkboard.geom.polygonA(4, 10, 5); Copy
// Returns 100const area = Chalkboard.geom.polygonA(4, 10, 5);
Calculates the area of a regular polygon.