phystricks
Functions
phystricks.src.Visual Namespace Reference

Functions

def visual_length (v, l, xunit=None, yunit=None, pspict=None)
 
def visual_polar (P, r, theta, pspict=None)
 
def polar_to_visual_polar (r, theta, pspict=None)
 
def visual_polar_coordinates (P, pspict=None)
 
def visual_vector (v, pspict=None, xunit=None, yunit=None)
 return a vector at the same base as 'v' but such that it will visually appears as 'v' More...
 
def inverse_visual_point (P, pspict)
 return the coordinates where the point P will be. More...
 
def visual_point (P, pspict)
 return the coordinates where a point has to be placed to arrive at P after taking into account the dilatations. More...
 
def inverse_visual_angle (angle, pspict)
 returns the 'visual' self We compute a new triple of points A'O'B' : where A',B' and C' are the points where the angle will be after the dilatations. More...
 

Function Documentation

def phystricks.src.Visual.inverse_visual_angle (   angle,
  pspict 
)

returns the 'visual' self We compute a new triple of points A'O'B' : where A',B' and C' are the points where the angle will be after the dilatations.

def phystricks.src.Visual.inverse_visual_point (   P,
  pspict 
)

return the coordinates where the point P will be.

def phystricks.src.Visual.polar_to_visual_polar (   r,
  theta,
  pspict = None 
)
From '(r,theta)', return the (s,alpha) such that the point
(s,alpha) visually appears as (r,theta).
def phystricks.src.Visual.visual_length (   v,
  l,
  xunit = None,
  yunit = None,
  pspict = None 
)
Return a vector in the direction of v that has *visual* length
l taking xunit and yunit into account.
def phystricks.src.Visual.visual_point (   P,
  pspict 
)

return the coordinates where a point has to be placed to arrive at P after taking into account the dilatations.

def phystricks.src.Visual.visual_polar (   P,
  r,
  theta,
  pspict = None 
)
Return a point at VISUAL coordinates (r,theta) from the point P.

theta is given in degree.
def phystricks.src.Visual.visual_polar_coordinates (   P,
  pspict = None 
)
return the visual polar coordinates of 'P'
def phystricks.src.Visual.visual_vector (   v,
  pspict = None,
  xunit = None,
  yunit = None 
)

return a vector at the same base as 'v' but such that it will visually appears as 'v'