POV-Ray : Newsgroups : povray.general : arc length? : Re: arc length? Server Time
26 Apr 2024 02:32:41 EDT (-0400)
  Re: arc length?  
From: Thomas de Groot
Date: 10 Dec 2019 02:27:19
Message: <5def48d7$1@news.povray.org>
Op 10/12/2019 om 01:04 schreef Alain Martel:
> Le 2019-12-09 à 02:39, Thomas de Groot a écrit :
>> Given a circle with known radius, what is the length of the arc 
>> segment formed between two radii with a known angle?
>>
>> if you understand what I mean; that description feels awkward... :-/
>>
> 
> You only need to convert that angle into radiant, then multiply by the 
> radius :
> 
> Just use the builtin macro :
> 
> #declare ArcLength = radians( AngleInDegree ) * Radius;
> 
> 

Initially, I had something like that in the back of my mind but was 
unable to move it to the front ;-)

Thanks indeed; I now have /two/ paths to achieve it.

-- 
Thomas


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.