MeshLib
 
Loading...
Searching...
No Matches
MRDotNet/MRContoursCut.h
Go to the documentation of this file.
1#pragma once
2#include "MRMeshFwd.h"
3
6enum class VariantIndex
7{
8 Face,
9 Edge,
10 Vertex
11};
20public value struct OneMeshContour
21{
22 List<OneMeshIntersection>^ intersections;
23 bool closed;
24};
26using OneMeshContours = List<OneMeshContour>;
27
28public ref class ContoursCut
29{
30public:
34 static OneMeshContours^ GetOneMeshIntersectionContours( Mesh^ meshA, Mesh^ meshB, ContinousContours^ contours, bool getMeshAIntersections,
35 CoordinateConverters^ converters );
39 static OneMeshContours^ GetOneMeshIntersectionContours( Mesh^ meshA, Mesh^ meshB, ContinousContours^ contours, bool getMeshAIntersections,
40 CoordinateConverters^ converters, AffineXf3f^ rigidB2A );
41};
42
VariantIndex
represents primitive type
Definition MRDotNet/MRContoursCut.h:7
List< OneMeshContour > OneMeshContours
list of contours on mesh
Definition MRDotNet/MRContoursCut.h:26
#define MR_DOTNET_NAMESPACE_BEGIN
Definition MRDotNet/MRMeshFwd.h:42
#define MR_DOTNET_NAMESPACE_END
Definition MRDotNet/MRMeshFwd.h:43
List< ContinousContour^> ContinousContours
Definition MRDotNet/MRMeshFwd.h:125
affine transformation: y = A*x + b, where A in VxV, and b in V
Definition MRDotNet/MRAffineXf.h:8
Definition MRDotNet/MRContoursCut.h:29
static OneMeshContours GetOneMeshIntersectionContours(Mesh^ meshA, Mesh^ meshB, ContinousContours^ contours, bool getMeshAIntersections, CoordinateConverters^ converters)
static OneMeshContours GetOneMeshIntersectionContours(Mesh^ meshA, Mesh^ meshB, ContinousContours^ contours, bool getMeshAIntersections, CoordinateConverters^ converters, AffineXf3f^ rigidB2A)
this class contains coordinate converters float-int-float
Definition MRCoordinateConverters.h:12
represents a mesh, including topology (connectivity) information and point coordinates,
Definition MRDotNet/MRMesh.h:30
represents a 3-dimentional float-typed vector
Definition MRDotNet/MRVector3.h:8
one contour on mesh
Definition MRDotNet/MRContoursCut.h:21
List< OneMeshIntersection > intersections
Definition MRDotNet/MRContoursCut.h:22
bool closed
Definition MRDotNet/MRContoursCut.h:23
simple point on mesh, represented by primitive id and coordinate in mesh space
Definition MRDotNet/MRContoursCut.h:14
VariantIndex variantIndex
Definition MRDotNet/MRContoursCut.h:15
Vector3f coordinate
Definition MRDotNet/MRContoursCut.h:17
int index
Definition MRDotNet/MRContoursCut.h:16