| Trees | Indices | Help |
|
|---|
|
|
object --+
|
??.instance --+
|
QuantisedFunction
A 2D quantised injective function (homomorphism) defined on the range [firstx,lastx].
| Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
| Static Methods | |||
|
|||
| Class Variables | |
__instance_size__ = 12
|
|
| Properties | |
| DEFAULT_CLAMPED | |
| clamped | |
| firstx | |
| lastx | |
| sampling | |
|
Inherited from |
|
| Method Details |
__call__( (QuantisedFunction)arg1, (float)x) -> float :
C++ signature :
double __call__(class PGL::QuantisedFunction *,double)
|
__init__( (object)arg1, (Curve2D)curve [, (int)sampling]) -> None :
QuantisedFunction(curve[,sampling,clamped]) : Quantised 2D function.
If clamped parameter is set to False, if a x value is out of range, first or last value is returned.
Otherwise an exception is raised.
C++ signature :
void __init__(struct _object *,class TOOLS::RefCountPtr<class PGL::Curve2D> [,unsigned int])
__init__( (object)arg1, (Point2Array)points [, (int)sampling]) -> None :
Function(points [,sampling])
C++ signature :
void __init__(struct _object *,class TOOLS::RefCountPtr<class PGL::Point2Array> [,unsigned int])
|
helper for pickle
|
build( (QuantisedFunction)arg1, (Curve2D)curve, (int)sampling) -> bool :
C++ signature :
bool build(class PGL::QuantisedFunction {lvalue},class TOOLS::RefCountPtr<class PGL::Curve2D>,unsigned int)
build( (QuantisedFunction)arg1, (Curve2D)arg2) -> bool :
C++ signature :
bool build(class PGL::QuantisedFunction {lvalue},class TOOLS::RefCountPtr<class PGL::Curve2D>)
|
checkQuantisableFunction( (Curve2D)arg1) -> bool :
C++ signature :
bool checkQuantisableFunction(class TOOLS::RefCountPtr<class PGL::Curve2D>)
|
findX( (QuantisedFunction)arg1, (float)y) -> object :
C++ signature :
class boost::python::api::object findX(class PGL::QuantisedFunction *,double)
findX( (QuantisedFunction)arg1, (float)y, (float)startingX) -> object :
findX(y[,startingX]) : find the first x value such as f(x) = y.
C++ signature :
class boost::python::api::object findX(class PGL::QuantisedFunction *,double,double)
|
getValue( (QuantisedFunction)arg1, (float)x) -> float :
C++ signature :
double getValue(class PGL::QuantisedFunction *,double)
|
inverse( (QuantisedFunction)arg1) -> QuantisedFunction :
C++ signature :
class TOOLS::RefCountPtr<class PGL::QuantisedFunction> inverse(class PGL::QuantisedFunction {lvalue})
|
isClampedToDefault( (QuantisedFunction)arg1) -> bool :
C++ signature :
bool isClampedToDefault(class PGL::QuantisedFunction {lvalue})
|
isDecreasing( (QuantisedFunction)arg1 [, (bool)arg2]) -> bool :
C++ signature :
bool isDecreasing(class PGL::QuantisedFunction {lvalue} [,bool])
|
isIncreasing( (QuantisedFunction)arg1 [, (bool)arg2]) -> bool :
C++ signature :
bool isIncreasing(class PGL::QuantisedFunction {lvalue} [,bool])
|
isMonotonous( (QuantisedFunction)arg1 [, (bool)arg2]) -> bool :
C++ signature :
bool isMonotonous(class PGL::QuantisedFunction {lvalue} [,bool])
|
isValid( (QuantisedFunction)arg1) -> bool :
C++ signature :
bool isValid(class PGL::QuantisedFunction {lvalue})
|
| Property Details |
DEFAULT_CLAMPED
|
clamped
|
firstx
|
lastx
|
sampling
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Wed Jul 16 15:52:18 2008 | http://epydoc.sourceforge.net |