MeshLib C++ Docs
Loading...
Searching...
No Matches
MRContour.h File Reference
#include "MRPch/MRBindingMacros.h"
#include "MRMeshFwd.h"
#include "MRVector3.h"
#include <cassert>

Go to the source code of this file.

Namespaces

namespace  MR
 only for bindings generation

Functions

template<typename T, typename R = T>
MR::calcOrientedArea (const Contour2< T > &contour)
template<typename T, typename R = T>
Vector3< R > MR::calcOrientedArea (const Contour3< T > &contour)
template<typename V, typename R = typename V::ValueType>
MR::calcLength (const Contour< V > &contour)
template<typename V, typename R = typename V::ValueType>
size_t MR::findContourPointByLength (const Contour< V > &contour, R targetLen)
template<typename To, typename From>
MR_BIND_IGNORE To MR::convertContour (const From &from)
template<typename To, typename From>
MR_BIND_IGNORE To MR::convertContours (const From &from)
template<typename From>
Contour2f MR::convertContourTo2f (const From &from)
 Instantiate the templates when generating bindings.
template<typename From>
Contour3f MR::convertContourTo3f (const From &from)
template<typename From>
Contour2d MR::convertContourTo2d (const From &from)
template<typename From>
Contour3d MR::convertContourTo3d (const From &from)
template<typename From>
Contours2f MR::convertContoursTo2f (const From &from)
template<typename From>
Contours3f MR::convertContoursTo3f (const From &from)
template<typename From>
Contours2d MR::convertContoursTo2d (const From &from)
template<typename From>
Contours3d MR::convertContoursTo3d (const From &from)