MeshLib Documentation
Loading...
Searching...
No Matches
MRMeshC/MRIntersectionContour.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRMeshFwd.h"
4#include "MRId.h"
6#include "MRVector.h"
7
9
17
18MR_VECTOR_LIKE_DECL( ContinuousContour, VariableEdgeTri )
19
21
22MRMESHC_API const MRContinuousContour mrContinuousContoursGet( const MRContinuousContours* contours, size_t index );
23
25
27
28// Combines individual intersections into ordered contours with the properties:
29// a. left of contours on mesh A is inside of mesh B,
30// b. right of contours on mesh B is inside of mesh A,
31// c. each intersected edge has origin inside meshes intersection and destination outside of it
33
MRMESHC_API void mrContinuousContoursFree(MRContinuousContours *contours)
MR_EXTERN_C_BEGIN struct MRVariableEdgeTri MRVariableEdgeTri
MRMESHC_API size_t mrContinuousContoursSize(const MRContinuousContours *contours)
MRMESHC_API MRContinuousContours * mrOrderIntersectionContours(const MRMeshTopology *topologyA, const MRMeshTopology *topologyB, const MRPreciseCollisionResult *intersections)
MRMESHC_API const MRContinuousContour mrContinuousContoursGet(const MRContinuousContours *contours, size_t index)
struct MRContinuousContours MRContinuousContours
Definition MRMeshC/MRIntersectionContour.h:20
struct MRPreciseCollisionResult MRPreciseCollisionResult
Definition MRMeshC/MRMeshCollidePrecise.h:22
#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:42
#define MRMESHC_API
Definition MRMeshC/MRMeshFwd.h:19
#define MR_VECTOR_LIKE_DECL(ClassName, Type)
Definition MRMeshC/MRVector.h:19
edge index
Definition MRMeshC/MRId.h:8
face index
Definition MRMeshC/MRId.h:12
Definition MRMeshC/MRIntersectionContour.h:11
MREdgeId edge
Definition MRMeshC/MRIntersectionContour.h:12
MRFaceId tri
Definition MRMeshC/MRIntersectionContour.h:13
bool isEdgeATriB
Definition MRMeshC/MRIntersectionContour.h:14