Hi John,
You'd have to construct your river system or circle as VisAD
Sets with domain dimension = 2 and manifold dimension = 1.
There are constructors for Gridded2DSet that do this. For a
set of line segments, you'll need to construct a UnionSet of
a bunch of Gridded2DSets, each with manifold dimension =1.
Please let me know if you have further questions or problems.
Cheers,
Bill
----------------------------------------------------------
Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI 53706
whibbard@xxxxxxxxxxxxx 608-263-4427 fax: 608-263-6738
http://www.ssec.wisc.edu/~billh/vis.html
"kill cross-platform Java by growing the polluted Java market"
- from an internal Microsoft planning document