[Oberon] Oberon-7 - Circle Segments

Tomas Kral thomas.kral at email.cz
Wed Feb 20 09:39:31 CET 2019


On Tue, 19 Feb 2019 20:06:34 +0100
Jörg <joerg.straube at iaeth.ch> wrote:

>   s:= r DIV 2; c := r * 181 DIV 209;
>   x[0] := 0; y[0] := r;
>   x[1] := s; y[1] := c;
>   x[2] := c; y[2] := s;

Aha, 

we start with one quadrant as the rest is the symetry.
Quadrant = 90 / 3 = 30 deg. sin(30) = 0.5 first triangle, the
other is cos(30). 

181 / 209 big enough triangle with angle proximing to 30 deg.

-- 
Tomas Kral <thomas.kral at email.cz>


More information about the Oberon mailing list