MCPcopy Create free account
hub / github.com/MITK/MITK / Point3DToTuple

Function Point3DToTuple

Wrapping/Python/mitk/MultiLabelSegmentation.cpp:119–122  ·  view source on GitHub ↗

Convert Point3D to python tuple

Source from the content-addressed store, hash-verified

117
118// Convert Point3D to python tuple
119std::tuple<double, double, double> Point3DToTuple(const mitk::Point3D& p)
120{
121 return {p[0], p[1], p[2]};
122}
123
124// Accept MergeStyle enum or case-insensitive string alias ("replace" / "merge")
125MultiLabelSegmentation::MergeStyle ToMergeStyle(py::handle h)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected