示例#1
0
文件: chords.py 项目: eeue56/PyGeo2
 def __init__(self,sphere,line,**kws):
     self.sphere=sphere
     self.line=line
     self.t=Real._Point()
     Real._Line.__init__(self,*[sphere,line],**kws)
     self.seg=True
     self.deps=[self.p1,self.p2]
     self.update()
示例#2
0
 def __init__(self,line,circle,**kws):
     self.line=line
     self.circle=circle
     self.tmp=Real._Point()
     Real._Point.__init__(self,*[line,circle],**kws)
     self.update()
示例#3
0
 def __init__(self,plane,sphere,**kws):
     self.plane=plane
     self.sphere=sphere
     self.tmp=Real._Point()
     Real._Point.__init__(self,*[plane,sphere],**kws)
     self.update()