MeshLib
 
Loading...
Searching...
No Matches
MRCoordinateConverters.h
Go to the documentation of this file.
1#pragma once
2#include "MRMeshFwd.h"
3#include "MRMesh.h"
4
5#pragma managed( push, off )
7#pragma managed( pop )
8
11public ref class CoordinateConverters
12{
13public:
17
18internal:
19 MR::ConvertToFloatVector* getConvertToFloatVector() { return convertToFloatVector_; }
20 MR::ConvertToIntVector* getConvertToIntVector() { return convertToIntVector_; }
21
23private:
24 MR::ConvertToFloatVector* convertToFloatVector_;
25 MR::ConvertToIntVector* convertToIntVector_;
26};
27
#define MR_DOTNET_NAMESPACE_BEGIN
Definition MRDotNet/MRMeshFwd.h:42
#define MR_DOTNET_NAMESPACE_END
Definition MRDotNet/MRMeshFwd.h:43
this class contains coordinate converters float-int-float
Definition MRCoordinateConverters.h:12
CoordinateConverters(MeshPart meshA, MeshPart meshB)
creates new converters for given pair of meshes
MR::ConvertToIntVector * getConvertToIntVector()
Definition MRCoordinateConverters.h:20
MR::CoordinateConverters ToNative()
std::function< Vector3f(const Vector3i &)> ConvertToFloatVector
int-to-float coordinate converter
Definition MRDotNet/MRMeshFwd.h:14
std::function< Vector3i(const Vector3f &)> ConvertToIntVector
float-to-int coordinate converter
Definition MRDotNet/MRMeshFwd.h:12
this struct contains coordinate converters float-int-float
Definition MRPrecisePredicates3.h:52
Definition MRDotNet/MRMesh.h:20