BHoM / BHoM_Engine

Internal manipulation of the BHoM
GNU Lesser General Public License v3.0
26 stars 12 forks source link

Geometry_Engine: IsRigidTransformation query returns false for reflection #3355

Open pawelbaran opened 1 month ago

pawelbaran commented 1 month ago

Description:

As in the title, reflection is considered a non-rigid transformation in BHoM - looking at the code, it seems to be a typo in line below, Math.Abs should be targeted at determinant, not 1-determinant. https://github.com/BHoM/BHoM_Engine/blob/fa7184b8e3a2668cd59a7440c35503aa4de2168a/Geometry_Engine/Query/IsRigidTransformation.cs#L72