surfarea ([[x,y],[x,y],[x,y],[x,y]])
surfarea ([[x,y],[x,y],[x,y],[x,y]]) → number
It produces the resulting area formed by points entered sequentially, which together define a closed plane.
Example:
<br><O N="surfareaObject1" T="Project" Category="Functions" TransAlignRule="1"><br> <!-- created by ParamML Examples on 8/24/2023 --><br> <P N="area" V="surfarea([[0,2],[2,2],[2,0],[0,0]])" /><br></O><br>

To view this example in the library, see (https://openbrim.org/app/?incubator=1&author=ParamML_Examples_OpenBrIM+Platform&obj=objidnnomzcvpbqi9diww60lpz )
Last updated