Volume Between Two Surfaces

The program will compute the volume between two surfaces. The program uses the currently open job (called 'this job') and another job that you sepcify (called the 'other job').

Each point on 'this' job will be projected onto the 'other job', and vice versa.
The program will use the discons in 'this' job to form the surface and the discons in the 'other' job to form the other surface.

The volume is computed using the triangles formed on both surfaces. As the points from each surface have been projected onto the other surface this allows the volume of each triangular prism to be calculated.

The volume will be computed using the area where the surfaces overlap.

The program will compute the volume between two surfaces.
The following rules must be observed:
  1. Check the triangle formation with discons each surface is correct prior to computing volumes.
  2. Note that discons, boundaries and no triangle areas on both surfaces will be used

The volume for each triangular prism is computed by calculating the area (in the horizontal plane) of the triangle and multiplying it by the height difference between the two surfaces. The heights of the apex points on the upper surface are averaged, and the heights on the lower surface are averaged and the height of the prism is the difference between the two levels. The volumes for each triangular prism are separated into cuts and fills and summed.

The program does not check that the surfaces intersect at the boundaries, thus if the upper surface does not meet the lower surface at the edge of the job, the program assumes a 'cliff' from the upper to the lower surface.

Where the surfaces overlap, the program will compute the three dimensional triangle intersection and hence the cut and fill for that triangle.

Processing steps: