Probably an overkill way of modelling wavelength/frequency, but allows us to model it without worrying about which to use.


The published properties would be:

  • Frequency : Hz (real)
  • Wavelength : meters (real)

  • Ucd - I think


This looks like a very simple object. Obviously we don't need to store both Frequency and Wavelength internally.

I think it makes sense for a Wave to be immutable (ie it can only be created with a set of characteristics, and thereafter is 'readonly'). The properties are all interdependent, so changing one without the other does not make sense.

-- MartinHill - 21 May 2004

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2004-05-21 - MartinHill
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback