Boost logo

Boost Users :

Subject: Re: [Boost-users] [units] subtract_typeof_helper<> help!
From: Terry Golubiewski (tjgolubi_at_[hidden])
Date: 2010-05-19 15:12:29


This version serves about as well, doesn't use [units], and uses very little
of [geometry].
terry

----- Original Message -----
From: "alfC" <alfredo.correa_at_[hidden]>
Newsgroups: gmane.comp.lib.boost.user
To: <boost-users_at_[hidden]>
Sent: Wednesday, May 19, 2010 4:28 AM
Subject: Re: [units] subtract_typeof_helper<> help!

On May 17, 9:45 pm, "Terry Golubiewski" <tjgol..._at_[hidden]> wrote:
> I'm trying to use boost::geometry and boost::units together.
> For some reason boost::geometry doesn't represent the difference of two
> points as vectors.
> So, I'm making my own Vector class and defining Vector = Point - Point.
> The sample program below doesn't compile because I need to tell the units
> library about the special properties of point subtraction (I think).

please post your solution if you find one. I have a similar problem.

Alfredo




Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net