Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 

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:

Code Block
<O N="surfareaObject1" T="Project" Category="Functions" TransAlignRule="1">
    <!-- created by ParamML Examples on 8/24/2023 -->
    <P N="area" V="surfarea([[0,2],[2,2],[2,0],[0,0]])" />
</O>
Image Added

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