[Rock-dev] base::Angle

Sylvain Joyeux sylvain.joyeux at dfki.de
Fri Apr 12 13:25:53 CEST 2013


On 04/12/2013 12:37 PM, Jakob Schwendner wrote:
> maybe range is not the right term here. Segment on the circle would be 
> better, and you can very well define a segment in the canonical form I 
> should think. One way of getting around the corner case from Janosch 
> could be to have a isInSegment(start, size) method, which actually 
> takes the size of the segment, which could be 2PI, since its not an 
> angle.

Sounds good to me ... You can even have negative segment sizes in this case.

Sylvain
-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: http://www.dfki.de/pipermail/rock-dev/attachments/20130412/b7a8a8a8/attachment-0001.htm 


More information about the Rock-dev mailing list