Loading PyPRM/example/example.py +3 −2 Original line number Diff line number Diff line Loading @@ -31,6 +31,7 @@ class stereographic : def plot(self,xyz,**karg) : theta,radius=self.project(xyz) plt.polar(theta[0],radius[0],'o',markersize=8,color='gray') plt.polar(theta[1],radius[1],'o',markersize=6,color='gray') plt.polar(theta,radius,**karg) plt.show() Loading Loading @@ -106,9 +107,9 @@ h=2; sh = np.sin(np.deg2rad(h)) z=(1-sw**2-sh**2)**0.5 V=np.array([ [ sw, sh, z] ,[ sw,-sh, z] ,[-sw,-sh, z] ,[-sw, sh, z] ,[-sw,-sh, z] ,[ sw,-sh, z] ,[ sw, sh, z] ]) Loading Loading
PyPRM/example/example.py +3 −2 Original line number Diff line number Diff line Loading @@ -31,6 +31,7 @@ class stereographic : def plot(self,xyz,**karg) : theta,radius=self.project(xyz) plt.polar(theta[0],radius[0],'o',markersize=8,color='gray') plt.polar(theta[1],radius[1],'o',markersize=6,color='gray') plt.polar(theta,radius,**karg) plt.show() Loading Loading @@ -106,9 +107,9 @@ h=2; sh = np.sin(np.deg2rad(h)) z=(1-sw**2-sh**2)**0.5 V=np.array([ [ sw, sh, z] ,[ sw,-sh, z] ,[-sw,-sh, z] ,[-sw, sh, z] ,[-sw,-sh, z] ,[ sw,-sh, z] ,[ sw, sh, z] ]) Loading