Package openalea :: Package plantgl :: Package math
[frames] | no frames]

Package math

Submodules

Functions
 
angle(...)
angle( (Vector2)v1, (Vector2)v2) -> float : The angle between v1 and v2
 
axisRotation(...)
axisRotation( (Vector3)arg1, (float)arg2) -> Matrix3 :
 
cross(...)
cross( (Vector2)v1, (Vector2)v2) -> float : The cross product of v1 and v2
 
direction(...)
direction( (object)v) -> object : The direction of the vector.
 
dot(...)
dot( (object)v1, (object)v2) -> float : The dot product of v1 and v2
 
eulerRotationXYZ(...)
eulerRotationXYZ( (Vector3)arg1) -> Matrix3 :
 
eulerRotationZYX(...)
eulerRotationZYX( (Vector3)arg1) -> Matrix3 :
 
norm(...)
norm( (object)v) -> object : The norm of the vector.
 
normL1(...)
normL1( (object)v) -> object : The L1 (Manhattan) norm of the vector.
 
normLinf(...)
normLinf( (object)v) -> object : The L-infinite norm of the vector.
 
normSquared(...)
normSquared( (object)v) -> object : The square of the norm of the vector.
 
scaling(...)
scaling( (Vector3)arg1) -> Matrix3 :
 
strain(...)
strain( (Matrix2)transformation) -> Matrix2 : Return the engineering strain associated to the transformation
 
stress(...)
stress( (Matrix2)strain, (Matrix3)material) -> Matrix2 : Return the stress associated to a given strain using Hook's law
Function Details

angle(...)

 

angle( (Vector2)v1, (Vector2)v2) -> float :
    The angle between v1 and v2

    C++ signature :
        double angle(class TOOLS::Vector2,class TOOLS::Vector2)

angle( (Vector3)v1, (Vector3)v2) -> float :
    The angle between v1 and v2

    C++ signature :
        double angle(class TOOLS::Vector3,class TOOLS::Vector3)

angle( (Vector3)v1, (Vector3)v2, (Vector3)axis) -> float :
    The angle around axis between v1 and v2 

    C++ signature :
        double angle(class TOOLS::Vector3,class TOOLS::Vector3,class TOOLS::Vector3)

axisRotation(...)

 

axisRotation( (Vector3)arg1, (float)arg2) -> Matrix3 :

    C++ signature :
        class TOOLS::Matrix3 axisRotation(class TOOLS::Vector3,double)

cross(...)

 

cross( (Vector2)v1, (Vector2)v2) -> float :
    The cross product of v1 and v2

    C++ signature :
        double cross(class TOOLS::Vector2,class TOOLS::Vector2)

cross( (Vector3)v1, (Vector3)v2) -> Vector3 :
    The cross product of v1 and v2

    C++ signature :
        class TOOLS::Vector3 cross(class TOOLS::Vector3,class TOOLS::Vector3)

direction(...)

 

direction( (object)v) -> object :
    The direction of the vector. Resulting vector is normed. If v.__dir__() exists, call it.

    C++ signature :
        class boost::python::api::object direction(class boost::python::api::object)

dot(...)

 

dot( (object)v1, (object)v2) -> float :
    The dot product of v1 and v2

    C++ signature :
        double dot(class boost::python::api::object,class boost::python::api::object)

eulerRotationXYZ(...)

 

eulerRotationXYZ( (Vector3)arg1) -> Matrix3 :

    C++ signature :
        class TOOLS::Matrix3 eulerRotationXYZ(class TOOLS::Vector3)

eulerRotationZYX(...)

 

eulerRotationZYX( (Vector3)arg1) -> Matrix3 :

    C++ signature :
        class TOOLS::Matrix3 eulerRotationZYX(class TOOLS::Vector3)

norm(...)

 

norm( (object)v) -> object :
    The norm of the vector. If v.__norm__() exists, call it.

    C++ signature :
        class boost::python::api::object norm(class boost::python::api::object)

norm( (float)arg1, (float)arg2 [, (float)arg3 [, (float)arg4 [, (float)arg5 [, (float)arg6 [, (float)arg7 [, (float)arg8 [, (float)arg9 [, (float)arg10 [, (float)arg11 [, (float)arg12 [, (float)arg13 [, (float)arg14 [, (float)arg15]]]]]]]]]]]]]) -> float :

    C++ signature :
        double norm(double,double [,double [,double [,double [,double [,double [,double [,double [,double [,double [,double [,double [,double [,double]]]]]]]]]]]]])

normL1(...)

 

normL1( (object)v) -> object :
    The L1 (Manhattan) norm of the vector. If v.__normL1__() exists, call it.

    C++ signature :
        class boost::python::api::object normL1(class boost::python::api::object)

normL1( (float)arg1, (float)arg2 [, (float)arg3 [, (float)arg4 [, (float)arg5 [, (float)arg6 [, (float)arg7 [, (float)arg8 [, (float)arg9 [, (float)arg10 [, (float)arg11 [, (float)arg12 [, (float)arg13 [, (float)arg14 [, (float)arg15]]]]]]]]]]]]]) -> float :

    C++ signature :
        double normL1(double,double [,double [,double [,double [,double [,double [,double [,double [,double [,double [,double [,double [,double [,double]]]]]]]]]]]]])

normLinf(...)

 

normLinf( (object)v) -> object :
    The L-infinite norm of the vector. If v.__normLinf__() exists, call it.

    C++ signature :
        class boost::python::api::object normLinf(class boost::python::api::object)

normLinf( (float)arg1, (float)arg2 [, (float)arg3 [, (float)arg4 [, (float)arg5 [, (float)arg6 [, (float)arg7 [, (float)arg8 [, (float)arg9 [, (float)arg10 [, (float)arg11 [, (float)arg12 [, (float)arg13 [, (float)arg14 [, (float)arg15]]]]]]]]]]]]]) -> float :

    C++ signature :
        double normLinf(double,double [,double [,double [,double [,double [,double [,double [,double [,double [,double [,double [,double [,double [,double]]]]]]]]]]]]])

normSquared(...)

 

normSquared( (object)v) -> object :
    The square of the norm of the vector. If v.__normSquared__() exists, call it.

    C++ signature :
        class boost::python::api::object normSquared(class boost::python::api::object)

normSquared( (float)arg1, (float)arg2 [, (float)arg3 [, (float)arg4 [, (float)arg5 [, (float)arg6 [, (float)arg7 [, (float)arg8 [, (float)arg9 [, (float)arg10 [, (float)arg11 [, (float)arg12 [, (float)arg13 [, (float)arg14 [, (float)arg15]]]]]]]]]]]]]) -> float :

    C++ signature :
        double normSquared(double,double [,double [,double [,double [,double [,double [,double [,double [,double [,double [,double [,double [,double [,double]]]]]]]]]]]]])

scaling(...)

 

scaling( (Vector3)arg1) -> Matrix3 :

    C++ signature :
        class TOOLS::Matrix3 scaling(class TOOLS::Vector3)

strain(...)

 

strain( (Matrix2)transformation) -> Matrix2 :
    Return the engineering strain associated to the transformation

    C++ signature :
        class TOOLS::Matrix2 strain(class TOOLS::Matrix2)

strain( (Vector2)i1, (Vector2)j1, (Vector2)i2, (Vector2)j2) -> Matrix2 :

    C++ signature :
        class TOOLS::Matrix2 strain(class TOOLS::Vector2,class TOOLS::Vector2,class TOOLS::Vector2,class TOOLS::Vector2)

stress(...)

 

stress( (Matrix2)strain, (Matrix3)material) -> Matrix2 :
    Return the stress associated to a given strain using Hook's law

    C++ signature :
        class TOOLS::Matrix2 stress(class TOOLS::Matrix2,class TOOLS::Matrix3)