PCL
|
Classes | |
class | pcl::TimePoint |
An instant in any timescale. More... | |
Functions | |
TimePoint | pcl::operator+ (const TimePoint &t, double d) |
TimePoint | pcl::operator+ (double d, const TimePoint &t) |
TimePoint | pcl::operator- (const TimePoint &t, double d) |
constexpr double | pcl::operator- (const TimePoint &t1, const TimePoint &t2) |
constexpr bool | pcl::operator< (const TimePoint &t1, const TimePoint &t2) |
constexpr bool | pcl::operator< (const TimePoint &t1, double jd2) |
constexpr bool | pcl::operator< (double jd1, const TimePoint &t2) |
constexpr bool | pcl::operator== (const TimePoint &t1, const TimePoint &t2) |
constexpr bool | pcl::operator== (const TimePoint &t1, double jd2) |
constexpr bool | pcl::operator== (double jd1, const TimePoint &t2) |
Returns the time point resulting after d days transcurred since a time point t.
Definition at line 1269 of file TimePoint.h.
Returns the time point resulting after d days transcurred since a time point t. This operator implements the commutative property of scalar time point addition.
Definition at line 1280 of file TimePoint.h.
Returns the time point d days before a time point t. Note that scalar time point subtraction is not a commutative operation, so 'd-t' cannot be used.
Definition at line 1291 of file TimePoint.h.
Returns the time interval in days elapsed from the specified time point t1 to another time point t2. The returned value is positive if t2 precedes t1, negative if t1 precedes t2.
Definition at line 1259 of file TimePoint.h.
References pcl::TimePoint::JDF(), and pcl::TimePoint::JDI().
Returns true iff a TimePoint object t1 represents a time point that precedes the time point represented by another object t2.
Invalid TimePoint instances are always in the infinite past: if t1 is invalid, this function returns true; if t1 is valid and t2 is not valid, this function returns false.
Definition at line 1220 of file TimePoint.h.
References pcl::TimePoint::IsValid(), pcl::TimePoint::JDF(), and pcl::TimePoint::JDI().
|
inlineconstexpr |
Returns true iff a TimePoint object t1 represents a time point that precedes another time point jd2, expressed as a Julian date.
Invalid TimePoint instances are always in the infinite past: if t1 is invalid, this function returns true.
Definition at line 1234 of file TimePoint.h.
References pcl::TimePoint::IsValid(), and pcl::TimePoint::JD().
|
inlineconstexpr |
Returns true iff a time point jd1, expressed as a Julian date, precedes the time point represented by a TimePoint object t2.
Invalid TimePoint instances are always in the infinite past: if t2 is invalid, this function returns false.
Definition at line 1248 of file TimePoint.h.
References pcl::TimePoint::IsValid(), and pcl::TimePoint::JD().
Returns true iff two TimePoint objects, t1 and t2, represent the same time point.
Definition at line 1184 of file TimePoint.h.
References pcl::TimePoint::JDF(), and pcl::TimePoint::JDI().
|
inlineconstexpr |
Returns true iff a TimePoint object t1 represents the specified time point jd2, expressed as a Julian date.
Definition at line 1194 of file TimePoint.h.
References pcl::TimePoint::JD().
|
inlineconstexpr |
Returns true iff a TimePoint object t2 represents the specified time point jd1, expressed as a Julian date. This operator implements the commutative property of scalar time point equality.
Definition at line 1205 of file TimePoint.h.
References pcl::TimePoint::JD().