Package openalea :: Package plantgl :: Package algo :: Module _pglalgo :: Class Ray
[frames] | no frames]

Class Ray

 object --+    
          |    
??.instance --+
              |
             Ray

Instance Methods
 
__call__(...)
__call__( (Ray)arg1, (float)t) -> Vector3 :
 
__init__(...)
__init__( (object)arg1 [, (Vector3)origin [, (Vector3)direction]]) -> None : Ray(Vector3 origin, Vector3 direction)
 
__reduce__(...)
helper for pickle
 
getAt(...)
getAt( (Ray)arg1, (float)t) -> Vector3 :
 
intersect(...)
intersect( (Ray)arg1, (Vector3)point) -> bool :
 
isIntersecting(...)
isIntersecting( (Ray)arg1, (object)bsphere) -> bool :
 
isValid(...)
isValid( (Ray)arg1) -> bool :

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables
  __instance_size__ = 80
Properties
  direction
  origin

Inherited from object: __class__

Method Details

__call__(...)
(Call operator)

 

__call__( (Ray)arg1, (float)t) -> Vector3 :

    C++ signature :
        class TOOLS::Vector3 __call__(class PGL::Ray {lvalue},double)

__init__(...)
(Constructor)

 

__init__( (object)arg1 [, (Vector3)origin [, (Vector3)direction]]) -> None :
    Ray(Vector3 origin, Vector3 direction)

    C++ signature :
        void __init__(struct _object * [,class TOOLS::Vector3 [,class TOOLS::Vector3]])

Overrides: object.__init__

__reduce__(...)

 
helper for pickle

Overrides: object.__reduce__
(inherited documentation)

getAt(...)

 

getAt( (Ray)arg1, (float)t) -> Vector3 :

    C++ signature :
        class TOOLS::Vector3 getAt(class PGL::Ray {lvalue},double)

intersect(...)

 

intersect( (Ray)arg1, (Vector3)point) -> bool :

    C++ signature :
        bool intersect(class PGL::Ray {lvalue},class TOOLS::Vector3)

intersect( (Ray)arg1, (Vector2)point) -> bool :

    C++ signature :
        bool intersect(class PGL::Ray {lvalue},class TOOLS::Vector2)

intersect( (Ray)arg1, (Ray)ray) -> object :

    C++ signature :
        class boost::python::api::object intersect(class PGL::Ray *,class PGL::Ray)

intersect( (Ray)arg1, (Vector3)p1, (Vector3)p2) -> object :

    C++ signature :
        class boost::python::api::object intersect(class PGL::Ray *,class TOOLS::Vector3,class TOOLS::Vector3)

intersect( (Ray)arg1, (Vector2)p1, (Vector2)p2) -> object :

    C++ signature :
        class boost::python::api::object intersect(class PGL::Ray *,class TOOLS::Vector2,class TOOLS::Vector2)

intersect( (Ray)arg1, (Vector3)p1, (Vector3)p2, (Vector3)p3) -> object :

    C++ signature :
        class boost::python::api::object intersect(class PGL::Ray *,class TOOLS::Vector3,class TOOLS::Vector3,class TOOLS::Vector3)

intersect( (Ray)arg1, (Vector3)p1, (Vector3)p2, (Vector3)p3, (Vector3)p4) -> object :

    C++ signature :
        class boost::python::api::object intersect(class PGL::Ray *,class TOOLS::Vector3,class TOOLS::Vector3,class TOOLS::Vector3,class TOOLS::Vector3)

intersect( (Ray)arg1, (Vector3)center, (float)radius) -> object :

    C++ signature :
        class boost::python::api::object intersect(class PGL::Ray *,class TOOLS::Vector3,double)

intersect( (Ray)arg1, (BoundingBox)bbox) -> object :

    C++ signature :
        class boost::python::api::object intersect(class PGL::Ray *,class PGL::BoundingBox)

isIntersecting(...)

 

isIntersecting( (Ray)arg1, (object)bsphere) -> bool :

    C++ signature :
        bool isIntersecting(class PGL::Ray {lvalue},class PGL::BoundingSphere)

isValid(...)

 

isValid( (Ray)arg1) -> bool :

    C++ signature :
        bool isValid(class PGL::Ray {lvalue})


Property Details

direction

Get Method:
unreachable(...)
Set Method:
unreachable(...)

origin

Get Method:
unreachable(...)
Set Method:
unreachable(...)