Quadric equation not correct (small bug)

If you are allergic to bug trackers, you can post here any remarks, issues and potential bugs you encounter
Post Reply
pmr
Posts: 40
Joined: Thu Mar 04, 2021 3:38 pm

Quadric equation not correct (small bug)

Post by pmr »

Hi,
I've noticed that in the 2.14 alpha version from April, 17, 2025, the quadric equation appears as X= f(X,Y) instead of Z=f(X,Y), turning it in a wrong equation. In previous versions it appears alright.
Best regards
daniel
Site Admin
Posts: 8158
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Quadric equation not correct (small bug)

Post by daniel »

Ah, probably a typo! But I believe it can be X=f(Y,Z), or Y=f(X,Z) or Z=f(X,Y) depending on the initial fitted plane orientation.

I'll check the code to track the typo. Thanks for the feedback.
Daniel, CloudCompare admin
pmr
Posts: 40
Joined: Thu Mar 04, 2021 3:38 pm

Re: Quadric equation not correct (small bug)

Post by pmr »

Hi, Daniel:
You're right, it can be X=f(Y,Z) or the other variants you mention, but it can not be X=f(X,Y) for a quadric as it appears.

Best regards
pmr
daniel
Site Admin
Posts: 8158
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Quadric equation not correct (small bug)

Post by daniel »

Ok, so in the old versions it could be any of the above versions. Now in the new version, the equation is displayed in the local Quadric coordinate system, hence it should always be Z = f(X,Y). The 'X' at the beginning was a leftover from the past.

I've fixed the typo, and this will be available in a future 2.14.alpha version.
Daniel, CloudCompare admin
Post Reply