User input of a 2d polygon. Returns area and perimeter.

Call:

int ires = ac_request("interface_input2dpoly", string sMessage, double &square, double &perimeter);


Here:

sMessage - text message to the user,

square, perimeter these variables return the value of the area and perimeter of the figure that the user specified by mouse clicks