def test_pnt(self): v1 = Vertex(1,1,1) v1.x = 12 pnt = gp_Pnt(12, 1, 1) v2 = make_vertex(pnt) self.assertEqual(v1,pnt)
def test_pnt(self): v1 = Vertex(1., 1., 1.) v1.x = 12. pnt = gp_Pnt(12., 1., 1.) self.assertEqual(v1, pnt)
def parameter_to_point(self, u): '''returns the coordinate at parameter u ''' return Vertex(*self.adaptor.Value(u).Coord())