hpp-fcl: hpp::fcl::time Namespace Reference

hpp-fcl 1.6.0 HPP fork of FCL -- The Flexible Collision Library

Typedefs | Functions
hpp::fcl::time Namespace Reference

Namespace containing time datatypes and time operations. More...

## Typedefs
typedef boost::posix_time::ptime | point
| Representation of a point in time. More...
typedef boost::posix_time::time_duration | duration
| Representation of a time duration. More...

## Functions
point | now (void)
| Get the current time point. More...
duration | seconds (double sec)
| Return the time duration representing a given number of seconds. More...
double | seconds (const duration &d)
| Return the number of seconds that a time duration represents. More...

## Detailed Description

Namespace containing time datatypes and time operations.

## Typedef Documentation

## ◆ duration

typedef boost::posix_time::time_duration hpp::fcl::time::duration

Representation of a time duration.

## ◆ point

typedef boost::posix_time::ptime hpp::fcl::time::point

Representation of a point in time.

## Function Documentation

## ◆ now()

point hpp::fcl::time::now | ( | void |  | ) |
| inline

Get the current time point.

## ◆ seconds() [1/2]

double hpp::fcl::time::seconds | ( | const duration & | d | ) |
| inline

Return the number of seconds that a time duration represents.

## ◆ seconds() [2/2]

duration hpp::fcl::time::seconds | ( | double | sec | ) |
| inline

Return the time duration representing a given number of seconds.