home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / programm / 2495 < prev    next >
Encoding:
Text File  |  1992-08-27  |  1.4 KB  |  42 lines

  1. Newsgroups: comp.programming
  2. Path: sparky!uunet!mcsun!sunic!ugle.unit.no!aun.uninett.no!news.uit.no!stud.cs.uit.no!roarf
  3. From: roarf@stud.cs.uit.no (Roar Foshaug)
  4. Subject: Re: Help - Contour drawing algorithm needed
  5. References:  <1992Aug25.165307.21995@tamsun.tamu.edu>
  6. Sender: news@news.uit.no (USENET News System)
  7. Organization: University of Tromsoe, Norway
  8. Date: Thu, 27 Aug 1992 14:33:28 GMT
  9. Message-ID: <1992Aug27.143328.8306@news.uit.no>
  10. Lines: 30
  11.  
  12. In article <1992Aug25.165307.21995@tamsun.tamu.edu>, tpradeep@cs.tamu.edu (Pradeep K Tapadiya) writes:
  13. |> 
  14. |> Howdy netters,
  15. |> 
  16. |> Given a set of (x,y,t) points where (x,y) represent the cooridinate and
  17. |> (t) represents the associated temperature, I need to draw temperature
  18. |> contours over a specified region. Can someone suggest me an algorithm
  19. |> to do this, or refer me to the right book(s).
  20. |> 
  21. |> Thank you for your help.
  22. |> 
  23. |> Pradeep
  24. |> tpradeep@cs.tamu.edu
  25.  
  26.  
  27. What about using a scan-line technique? You iterate across
  28. the scanline, and if two neighbouring temperature points 
  29. are different (sufficiently different?) then you plot a point. 
  30.  
  31. This way curves will be built up.
  32.  
  33.  
  34. -Roar-
  35.  
  36.  
  37. -- 
  38. Roar Foshaug                                      (roarf@stud.cs.uit.no)
  39. Department of Computer Science
  40. University of Tromsoe                             'oe' is '\o{}' in Tex
  41. N-9000 TROMSOE, NORWAY                            'OE' is '\O{}' in Tex
  42.