Function Reference: RTree.eq

RTree: bool = eq (other)

Equality of RTrees.

As is usual with Octave, this method is called when one uses the infix equality operator, i.e., A == B is the same as A.eq (B).

This is a rather strict equality, not only must the tree have the same rectangles, they must be in the same order. Certainly clone will produce an instance which is equal in this sense.

See also: RTree.ne, RTree.clone