( box1, box2 )
| 55 | |
| 56 | @staticmethod |
| 57 | def compareBBox( box1, box2 ): |
| 58 | errorTolerance = imath.V3d(1e-5, 1e-5, 1e-5) |
| 59 | boxTmp = imath.Box3d( box1.min() - errorTolerance, box1.max() + errorTolerance ) |
| 60 | if not IECore.BoxAlgo.contains( boxTmp, box2 ): |
| 61 | return False |
| 62 | boxTmp = imath.Box3d( box2.min() - errorTolerance, box2.max() + errorTolerance ) |
| 63 | if not IECore.BoxAlgo.contains( boxTmp, box1 ): |
| 64 | return False |
| 65 | return True |
| 66 | |
| 67 | def testSupportedExtension( self ) : |
| 68 | self.assertTrue( "lscc" in IECoreScene.SceneInterface.supportedExtensions() ) |
no test coverage detected