Skip to content

Geometry_Engine: IsRigidTransformation query returns false for reflection #3355

Open
@pawelbaran

Description

@pawelbaran

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.

return multiplied.IsEqual(identity, tolerance) && Math.Abs(1 - rotation.Determinant()) <= tolerance;

Metadata

Metadata

Assignees

Labels

type:bugError or unexpected behaviour

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions