[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Goptical] Line along optical axis
From: |
Richard Graham |
Subject: |
Re: [Goptical] Line along optical axis |
Date: |
Sun, 09 Dec 2012 14:15:03 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
Hi Alexandre,
Thanks for looking at this for me.
It looks like what I was talking about previously was actually the
bounding boxes for the surfaces. They are different from the sag at max
radius in both cases.
I have removed my analysis and other code to make something relatively
minimal that you can use as a test example. It prints out the bounding
box information. Run it with command line argument '1' to show plots.
Thanks for looking into this for me,
Regards,
--
Richard Graham
On 12/09/2012 07:54 AM, Alexandre Becoulet wrote:
> On Tuesday 04 December 2012 21:47:02 Richard Graham wrote:
>
> Hi Richard,
>
>> Looking at the code it seems like this must arise when the bounding box
>> coordinates are transformed but I loose track of it then.
>>
>> Any ideas?
>
> I just had a look to the code but it's not easy to track the bug without a
> test case. Can you please tell me if the Surface::get_bounding_box function
> returns a correct z for both surfaces of the lens? The sag value at outline
> shape max radius is used for the z component of the surface bounding box;
> this
> may yield incorrect results depending on the curve.
>
> Regards,
>
asphere_mwe.tar.gz
Description: GNU Zip compressed data