Skip to content

Add equality test for SequentialTransform #8

@VEZY

Description

@VEZY

testing equality between transformations works just fine, but not when we test for two SequentialTransform. Using Meshes for the example:

t1 = Meshes.Affine([-0.1 8.7 0.5; -1.5 -0.1 4.3; 0.1 1.9 0.0], [0.0, 0.0, 0.0])  Meshes.Translate(0.0, 0.0, 0.0)
t2 = Meshes.Affine([-0.1 8.7 0.5; -1.5 -0.1 4.3; 0.1 1.9 0.0], [0.0, 0.0, 0.0])  Meshes.Translate(0.0, 0.0, 0.0)

t1 == t2

But if we do this it works:

t1.transforms == t2.transforms

Would it be possible to add a method for Base for testing equality like this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions