Page 1 of 1

Area of a section

Posted: Fri Nov 26, 2010 7:01 am
by vellamike
What is the best way to find the area of an entire section? I know you can use

Code: Select all

h.area(x,sec=sectionname)
and figure out what values of x you need to avoid double-counting and iterate over all the x values, summing the areas of each segment, but I was wondering if there was some more elegant way to do this, something along the lines of

Code: Select all

area=sectionname.area
Thanks in advance.

Re: Area of a section

Posted: Fri Nov 26, 2010 11:17 am
by ted
No "total section area" method is built in. Nothing says you can't cobble up a function that takes a section as an argument and returns its total area.

Re: Area of a section

Posted: Tue Nov 30, 2010 11:40 am
by vellamike
OK just thought I'd check, thanks!