Package pyscript :: Module path :: Class _bezier
[show private | hide private]
[frames | no frames]

Class _bezier

object --+
         |
        _bezier


A Bezier pathlette
Method Summary
  __init__(self, s, cs, ce, e, TOL, temporary)
  _bisect(self, t, temporary)
Divide this bezier into two
  _get_end(self)
return end point
  _get_start(self)
return start point
  _is_straight(self)
is this curve straight?
  _t(self, t)
Return point on curve parametrised by t [0-1] This is exact
  bbox(self, itoe)
Return the bounding box of the object
  body(self)
Return the postscript body of the object
  P(self, f)
return point on curve at fraction f of length
  set_length(self)
Set the length of the bezier curve
  straighten(self)
Straighten the bezier curve
  tangent(self, f)
return angle of tangent of curve at fraction f of length
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)
    Inherited from type
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T

Property Summary
  end
  start

Class Variable Summary
NoneType ce = None                                                                  
NoneType cs = None                                                                  
NoneType e = None                                                                  
NoneType length = None                                                                  
NoneType s = None                                                                  
NoneType TOL = None                                                                  

Method Details

_bisect(self, t=0.5, temporary=False)

Divide this bezier into two

_get_end(self)

return end point

_get_start(self)

return start point

_is_straight(self)

is this curve straight?

_t(self, t)

Return point on curve parametrised by t [0-1] This is exact

bbox(self, itoe=<function Identity at 0x404fded4>)

Return the bounding box of the object

body(self)

Return the postscript body of the object

P(self, f)

return point on curve at fraction f of length

set_length(self)

Set the length of the bezier curve

straighten(self)

Straighten the bezier curve

tangent(self, f)

return angle of tangent of curve at fraction f of length

Property Details

end

Get Method:
_get_end(self)

start

Get Method:
_get_start(self)

Class Variable Details

ce

Type:
NoneType
Value:
None                                                                  

cs

Type:
NoneType
Value:
None                                                                  

e

Type:
NoneType
Value:
None                                                                  

length

Type:
NoneType
Value:
None                                                                  

s

Type:
NoneType
Value:
None                                                                  

TOL

Type:
NoneType
Value:
None                                                                  

Generated by Epydoc 2.0 on Mon Apr 24 17:02:34 2006 http://epydoc.sf.net