示例#1
0
 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)
示例#2
0
 def test_pnt(self):
     v1 = Vertex(1., 1., 1.)
     v1.x = 12.
     pnt = gp_Pnt(12., 1., 1.)
     self.assertEqual(v1, pnt)
示例#3
0
 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)
示例#4
0
 def parameter_to_point(self, u):
     '''returns the coordinate at parameter u
     '''
     return Vertex(*self.adaptor.Value(u).Coord())