RectPartition.approx_equals¶
- RectPartition.approx_equals(other, atol)[source]¶
Return
True
in case of approximate equality.- Returns:
- approx_eqbool
True
ifother
is aRectPartition
instance withself.set == other.set
up toatol
andself.grid == other.other
up toatol
,False
otherwise.