uPolarPoint.py

from pygeo import *

v=display(scale=3,camera_vector=(0,2,-1))

u=uPolarPoint(-PI/7,PI/3)


#refences objects
usphere=uSphere()
O=rPoint(color=WHITE)
z=rPoint(0,0,1,color=WHITE)
u1=uPolarPoint(phi=PI/3,color=WHITE)
zaxis=rLine(O,z,seg=True,color=WHITE)
p=Intersect(Plane(zPlane(),u),zaxis,pointsize=.1,color=WHITE)
rLine(O,z,seg=True,color=WHITE)
rLine(O,u,seg=True,color=WHITE)
rLine(p,u1,seg=True,color=WHITE)
rLine(p,u,seg=True,color=WHITE)
rLine(u,u1,seg=True,color=WHITE)
rLine(u,z,seg=True,color=WHITE)
v.pickloop()