The Artima Developer Community
Sponsored Link

Agile Buzz Forum
What to do with degrees?

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Robertson

Posts: 29924
Nickname: jarober61
Registered: Jun, 2003

David Buck, Smalltalker at large
What to do with degrees? Posted: May 19, 2004 2:46 PM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: What to do with degrees?
Feed Title: Travis Griggs - Blog
Feed URL: http://www.cincomsmalltalk.com/rssBlog/travis-rss.xml
Feed Description: This TAG Line is Extra
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From Travis Griggs - Blog

Advertisement
Playing with Measurements(1) recently, I was confronted with the fact that it does not initialize a base unit for either 2D or 3D angular measure. In SI units, these are measured in radians and steradians, respectively. The interesting part is that they're not base units in the SI table either. Technically speaking, an angular radian measure equates to a length/length. So I could define them as a unit derived from the Unitless unit. However, I'm not sure what use that association would be to users of Measurements. So, I'm tempted to make them "base" units, and just let them be measures in their own right.

I'm curious, what would you do? If you were architecting such a system, or use the current Measurements package, what would you do with angles?

(1) Measurements is a package found in the Open Repository. It allows for unit'd numbers to be created, done math with, converted, etc. It does automatic reduction. It's really kinda slick if you do anything that has to deal with mixed units of measure.

Read: What to do with degrees?

Topic: Danger Will Robinson - baroqueness ahead! Previous Topic   Next Topic Topic: Seaside in VW

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use