Package pyscript :: Module vectors :: Class R
[show private | hide private]
[frames | no frames]

Class R

object --+        
     PsObj --+    
             P --+

Relative point vector
Method Summary
  __add__(self, o)
  __div__(self, o)
  __mul__(self, o)
  __rmul__(self, o)
    Inherited from P
  __init__(self, **options)
can pass a dict of atributes to set
  __getitem__(self, i)
  __radd__(self, o)
  __rsub__(self, o)
  __setitem__(self, i, other)
  __sub__(self, o)
return postscript as string
  cross(self, other)
Calculate the cross product of two vectors
    Inherited from PsObj
self __call__(self, **options)
Set a whole lot of attributes in one go
string __repr__(self)
Return a representation of this object
string __str__(self)
return actual postscript string to generate object
Bbox bbox(self)
return objects bounding box this can be a Null Bbox() if object doesn't draw anything on the page.)
self copy(self, **options)
return a copy of this object with listed attributes modified
string postbody(self)
convenience function to allow clean subclassing
string prebody(self)
convenience function to allow clean subclassing
    Inherited from object
x.__delattr__('name') <==> del
x.__getattribute__('name') <==>
x.__hash__() <==> hash(x)
helper for pickle
helper for pickle
x.__setattr__('name', value) <==> = value
    Inherited from type
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T

Property Summary
    Inherited from P

Class Variable Summary
    Inherited from P
list point = [0, 0]

Generated by Epydoc 2.0 on Mon Apr 24 17:02:34 2006