Boost logo

Geometry :

Subject: Re: [geometry] translation and rotation proposal
From: Adam Wulkiewicz (adam.wulkiewicz_at_[hidden])
Date: 2013-06-23 17:58:25


Barend Gehrels wrote:
>
> Yes, it makes sense and would need a similar (or same) interface...
> return_difference<Point>(point1, point2) would be applied to Cartesian
> points or to Spherical / Geographic points. For lat-lon it would return
> a course/distance pair, this way you can add the calculated vector to a
> point1 and get point2 back. In this case a vector-type is something
> different than a point-type, more than in cartesian cases.
>

Hmm, in this case we should probably have difference_type<> instead of
vector_type<>. However for now, I guess this doesn't colide with adding
Vector concept and difference for cartesian?

Regards,
Adam


Geometry list run by mateusz at loskot.net