| 
    OpenVDB
    13.0.0
    
   | 
 
#include <openvdb/math/Ray.h>
Public Member Functions | |
| TimeSpan () | |
| Default constructor.  More... | |
| TimeSpan (RealT _t0, RealT _t1) | |
| Constructor.  More... | |
| void | set (RealT _t0, RealT _t1) | 
| Set both times.  More... | |
| void | get (RealT &_t0, RealT &_t1) const | 
| Get both times.  More... | |
| bool | valid (RealT eps=math::Delta< RealT >::value()) const | 
Return true if t1 is larger than t0 by at least eps.  More... | |
| RealT | mid () const | 
| Return the midpoint of the ray.  More... | |
| void | scale (RealT s) | 
| Multiplies both times.  More... | |
| bool | test (RealT t) const | 
Return true if time is inclusive.  More... | |
Public Attributes | |
| RealT | t0 | 
| RealT | t1 | 
      
  | 
  inline | 
Default constructor.
      
  | 
  inline | 
Constructor.
      
  | 
  inline | 
Get both times.
      
  | 
  inline | 
Return the midpoint of the ray.
      
  | 
  inline | 
Multiplies both times.
      
  | 
  inline | 
Set both times.
      
  | 
  inline | 
Return true if time is inclusive. 
      
  | 
  inline | 
Return true if t1 is larger than t0 by at least eps. 
| RealT t0 | 
| RealT t1 | 
 1.8.11