Module _curvelib :: Class CubicCurve
[hide private]
[frames] | no frames]

Class CubicCurve

object --+
         |
        CubicCurve

A baked out curve for a specific frame and view.

Use the getPoint function to get positions along the curve.

Note that some curves, such as the feather curve for a roto shape, are stored as offsets relative to another curve rather than absolute positions.

Instance Methods [hide private]
 
__delattr__(...)
x.__delattr__('name') <==> del x.name
 
__getattribute__(...)
x.__getattribute__('name') <==> x.name
a new object with type S, a subtype of T
__new__(T, S, ...)
 
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
CVec4
getPoint(self, t)
Returns: A CVec4 containing the evalution result.

Inherited from object: __format__, __hash__, __init__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__delattr__(...)

 

x.__delattr__('name') <==> del x.name

Overrides: object.__delattr__

__getattribute__(...)

 

x.__getattribute__('name') <==> x.name

Overrides: object.__getattribute__

__new__(T, S, ...)

 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__

__setattr__(...)

 

x.__setattr__('name', value) <==> x.name = value

Overrides: object.__setattr__

getPoint(self, t)

 
Parameters:
  • t - The parameter value to evaluate the curve with. 0.0 is the start of the curve and 1.0 is the end. A value outside this range will throw a ValueError.
Returns: CVec4
A CVec4 containing the evalution result. If the curve has less than 4 dimension, the extra dimensions will be filled with default values.