opencascade-sys 0.3.0

Rust bindings to the OpenCascade CAD Kernel
1
2
3
4
5
6
#include <TopLoc_Location.hxx>
#include <bindings_common.hxx>

inline std::unique_ptr<gp_Trsf> TopLoc_Location_Transformation(const TopLoc_Location &location) {
  return std::unique_ptr<gp_Trsf>(new gp_Trsf(location.Transformation()));
}