You are not logged in.
Pages: 1
///polygon_side_area(numberofsides,len)
//Returns the area of a regular polygon depending on the number of sides and distance between the center of the polygon and one of its corners
//
//numberofsides - number of sides in the polygon, real
//len - distance between the center of the polygon and one of its corners, real
//
///GMLscripts.com/license
return ((1/2) * argument0 * sin(360/argument0) * argument1 * 2);
Offline
Pages: 1