a,b=m.distanceToPoint(pt)
self.assertAlmostEqual(expectedDist,a,14)
self.assertEqual(3,b)
+ #
+ fd=MEDCouplingFieldDiscretization.New(ON_CELLS)
+ self.assertEqual(24,fd.getNumberOfTuples(m))
+ fd=MEDCouplingFieldDiscretization.New(ON_NODES)
+ self.assertEqual(26,fd.getNumberOfTuples(m))
pass
def setUp(self):
%feature("autodoc", "1");
%feature("docstring");
+%newobject ParaMEDMEM::MEDCouplingFieldDiscretization::New;
%newobject ParaMEDMEM::MEDCouplingFieldDiscretization::getOffsetArr;
%newobject ParaMEDMEM::MEDCouplingFieldDiscretization::deepCpy;
%newobject ParaMEDMEM::MEDCouplingFieldDiscretization::clone;