This example shows how to build surface by approximating areas with constant real numbers and how to set additional condition (mean value) on surface in area. In this example 6 different areas were used. This example looks like area.tcl example, but one area (area6) with mean condition was added.
Here is the image of the resulting surface (green colour for areas 1,3 and 5, red colour for areas 2 and 4, magenta for area 6):
Pic 1. Surface with mean value = 30, built from areas
This result was obtained with "examples/surfit/curvs/area_mean.tcl"
script.
surfit: gridding and contouring software.