This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Journey To Enterprise Agility and have Daryl Kulak & Hong Li on-line!
See this thread for details.
Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

How to represent sea in maps?  RSS feed

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am making a map. When i click at two points on a panel(on which my map exists). I should be able to draw a wavy line representing the sea legend. I have tried using the brazier curve. But it has only one depression. I need a wave pattern. Cn anybody help.
Thanks,
Prav Ford
 
Ranch Hand
Posts: 283
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Prav

This may not be very useful, but there should be some way to draw a low amplitude sine wave. Maybe someone has some code to do that. You would make the period (length of one cycle) of the sinewave a submultiple of the line length so the ends meet the end points. Then you would need to transform your waveform to the correct angle. These seem like big tasks but maybe someone has already done this!

Ed
 
author and iconoclast
Sheriff
Posts: 24220
40
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you can draw one wave with a bezier curve, then why not just create a method which draws the one wave three times -- then use this method.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!