Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

Re: Creating geometry by connecting points.

Hi Sunila and Pardeep,

> we want to draw a geometry by connecting points which are generated by
> clicking the left mouse button on the dispaly.  Please suggest us in this
> regard as well as if there is any concerned example.

If your users can click the right button, then you can
use visad.bom.PointManipulationRendererJ3D to catch each
point - see its main() method for an example of how to use
it. Then you can put the points together in a Gridded2DSet
with manifold dimension = 1 to form a string of connected
lines.

Cheers,
Bill
----------------------------------------------------------
Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI  53706
hibbard@xxxxxxxxxxxxxxxxx  608-263-4427  fax: 608-263-6738
http://www.ssec.wisc.edu/~billh/vis.html


  • 2001 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: