MeshLib C++ Docs
Loading...
Searching...
No Matches
MRChrono.h File Reference
#include "MRMeshFwd.h"
#include "MRPch/MRBindingMacros.h"
#include <ctime>
#include <optional>

Go to the source code of this file.

Namespaces

namespace  MR
 Only strictly necessary for the bindings (to make MR::MeshIntersectionResult a complete type).

Functions

std::optional< std::tm > MR::Localtime (std::time_t time)
 A threadsafe equivalent for std::localtime(). Returns null on failure.
std::tm MR::LocaltimeOrZero (std::time_t time)
 Same, but returns a struct full of zeroes on error.