Trees | Indices | Help |
|
---|
|
object --+ | ??.instance --+ | SceneObject --+ | Geometry --+ | Primitive --+ | ParametricModel --+ | object --+ | | | ??.instance --+ | | | SceneObject --+ | | | Geometry --+ | | | Primitive --+ | | | LineicModel --+ | BezierCurve
BezierCurve describes rational and non rational Bezier curve. It is defined by a degree n and a list of control Points Pi and using the parametric equation C(u) = Sum(i=0,n)(Bi,n(u)Pi) with u in [0,1] where Bi,n(u) are the classical n-th degree Bernstein polynomials.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from Inherited from |
Static Methods | |||
|
|||
|
Class Variables | |
__instance_size__ = 12
|
|
Inherited from |
Properties | |
DEFAULT_STRIDE | |
ctrlPointList | |
stride | |
Inherited from Inherited from Inherited from |
Method Details |
__init__( (object)arg1, (Point4Array)arg2 [, (int)arg3]) -> None : C++ signature : void __init__(struct _object *,class TOOLS::RefCountPtr<class PGL::Point4Array> [,unsigned int])
|
__repr__( (BezierCurve)arg1) -> str : C++ signature : class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __repr__(class PGL::BezierCurve *)
|
bernstein( (int)i, (int)n, (float)u) -> float : float bernstein( int i, int n, float u )Computes the value of i-th Bernstein polynomial for a fixed u.See the Nurbs Book p20. usefull for Bezier Curve computation. C++ signature : double bernstein(unsigned int,unsigned int,double) |
bernstein_factors( (int)n, (float)u) -> object : [float] bernstein_factors( int n, float u )Computes the n + 1 th degree Bernstein polynomials for a fixed u.See the Nurbs Book p21 . usefull for Bezier Curve computation. C++ signature : class boost::python::api::object bernstein_factors(unsigned int,double) |
copy( (BezierCurve)arg1) -> SceneObject : C++ signature : class TOOLS::RefCountPtr<class PGL::SceneObject> copy(class PGL::BezierCurve {lvalue}) |
isStrideToDefault( (BezierCurve)arg1) -> bool : C++ signature : bool isStrideToDefault(class PGL::BezierCurve {lvalue}) |
Property Details |
DEFAULT_STRIDE
|
ctrlPointList
|
stride
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Jul 16 15:52:16 2008 | http://epydoc.sourceforge.net |