| Home | Trees | Index | Help |
|
|---|
| Module Ipo :: Class BezTriple |
|
| Method Summary | |
|---|---|
| BezTriple |
Create a new BezTriple object. |
| list of floats |
Returns the xy coordinates of the Bezier knot point. |
| list consisting of 3 lists of 3 floats |
Returns the x,y,z coordinates for each of the three points that make up a BezierTriple. |
| None |
Sets the point xy coordinates of the Bezier knot point. |
| Instance Variable Summary | |
|---|---|
| int | hide: the visibility status of the control point. |
| list of floats | pt: the [x,y] coordinates for knot point of this BezTriple. |
| list of points | vec: a list of the 3 points [ handle, knot, handle ] that comprise a
BezTriple. |
| Method Details |
|---|
__init__(coords)
Create a new BezTriple object.
|
getPoints()Returns the xy coordinates of the Bezier knot point.
|
getTriple()Returns the x,y,z coordinates for each of the three points that make up a BezierTriple. The return list looks like this [ [H1x, H1y, H1z], [Px, Py, Pz], [H2x, H2y, H2z] ] . Example:# where bt is of type BezierTriple # and h1, p, and h2 are lists of 3 floats h1, p, h2 = bt.getTriple()
|
setPoints(newval)Sets the point xy coordinates of the Bezier knot point. After changing coordinates, it is advisable to callIpoCurve.recalc() to update the Ipo
curves.
|
| Instance Variable Details |
|---|
hidethe visibility status of the control point.
|
ptthe [x,y] coordinates for knot point of this BezTriple. Read-only.
|
veca list of the 3 points [ handle, knot, handle ] that comprise a BezTriple. See the getTriple() method for an example of the format. Read-only.
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Jan 26 09:17:44 2006 | http://epydoc.sf.net |