*Expert Elite*
Posts: 2,579
Registered: ‎07-09-2003
Message 11 of 16 (289 Views)

# Re: Average level within an area

02-18-2013 10:06 AM in reply to: TRogers

Thanks, hence why I brought it up.  Puzzled me when I first discovered it.  I have never been asked for the value so I never really pursued it further.

Matt Kolberg
Cansel - Autodesk Division
http://www.cansel.ca/
*Expert Elite*
Posts: 2,579
Registered: ‎07-09-2003
Message 12 of 16 (286 Views)

# Re: Average level within an area

02-18-2013 10:14 AM in reply to: sboon

I'm not sure Steve.  I'm not sure about how to calculate that.

Matt Kolberg
Cansel - Autodesk Division
http://www.cansel.ca/
*Expert Elite*
Posts: 1,897
Registered: ‎11-08-2005
Message 13 of 16 (279 Views)

# Re: Average level within an area

02-18-2013 10:55 AM in reply to: mathewk

If you draw lines from the three vertices of a triangle to the midpoints of the opposite edges the intersection of those lines will be the centroid.  To get the weighted average you calcualate the sum of:

Elevation at the centroid of each triangle * (Surface area of the triangle / Total area of the Surface)

14*(50/100) + 20*(50/100) = 17

The result can be affected by the orientation of the TIN.  If I flip faces then I get a different answer.

Valued Mentor
Posts: 603
Registered: ‎03-24-2009
Message 14 of 16 (269 Views)

# Re: Average level within an area

02-18-2013 12:16 PM in reply to: sboon

i have a surface with 415 points, Civil 3D reports the mean surface elevation as 373.172'. when i extract the points, i get 373.220' as the arithmatic mean. close, but not spot on. i remember seeing here on the forums someone mention how Civil 3D calculates it, but cannot seem to find it at the moment.

*EDIT: realized after inserting the images that they may be barely readable. the images are attached.

Civil 3D 2013 SP1, Win 7-64 bit
12GB RAM
Valued Mentor
Posts: 603
Registered: ‎03-24-2009
Message 15 of 16 (258 Views)

# Re: Average level within an area

02-18-2013 12:24 PM in reply to: engineer4life1979

also, in surf3.png, it may appear that all the data rows under "Position Z" column were not selected when calculating the mean, which is not the case. the mean reported is for all the Z values (415 values), which can be seen in surf3.png under the "Count", beside the "Average".

Civil 3D 2013 SP1, Win 7-64 bit
12GB RAM
Valued Mentor
Posts: 603
Registered: ‎03-24-2009
Message 16 of 16 (251 Views)

# Re: Average level within an area

02-18-2013 12:42 PM in reply to: engineer4life1979

i seemed to have found it, Christopher in his blog post mentions the mean grade/slope, and how it is calculated as a weighted average (i assume weighted average over triangle area). not sure if the mean elevation is the same way:

http://blog.civil3dreminders.com/2009/11/average-surface-slope.html

Civil 3D 2013 SP1, Win 7-64 bit
12GB RAM

Recently Solved