MeshLib C++ Docs
Loading...
Searching...
No Matches
MRMeshC/MRIntersectionContour.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRMeshFwd.h"
5
7
8typedef MRVectorVarEdgeTri MRContinuousContour;
9
11
13
15
17
18// Combines individual intersections into ordered contours with the properties:
19// a. left of contours on mesh A is inside of mesh B,
20// b. right of contours on mesh B is inside of mesh A,
21// c. each intersected edge has origin inside meshes intersection and destination outside of it
23
MRMESHC_API void mrContinuousContoursFree(MRContinuousContours *contours)
MRMESHC_API size_t mrContinuousContoursSize(const MRContinuousContours *contours)
MRMESHC_API MRContinuousContours * mrOrderIntersectionContours(const MRMeshTopology *topologyA, const MRMeshTopology *topologyB, const MRPreciseCollisionResult *intersections)
MR_EXTERN_C_BEGIN typedef MRVectorVarEdgeTri MRContinuousContour
Definition MRMeshC/MRIntersectionContour.h:8
struct MRContinuousContours MRContinuousContours
Definition MRMeshC/MRIntersectionContour.h:10
MRMESHC_API MRContinuousContour mrContinuousContoursGet(const MRContinuousContours *contours, size_t index)
MRVectorVarEdgeTri MRPreciseCollisionResult
each edge is directed to have its origin inside and its destination outside of the other mesh
Definition MRMeshC/MRMeshCollidePrecise.h:37
#define MR_EXTERN_C_BEGIN
Definition MRMeshC/MRMeshFwd.h:26
#define MR_EXTERN_C_END
Definition MRMeshC/MRMeshFwd.h:27
struct MRMeshTopology MRMeshTopology
Definition MRMeshC/MRMeshFwd.h:46
#define MRMESHC_API
Definition MRMeshC/MRMeshFwd.h:19