MeshLib C++ Docs
Loading...
Searching...
No Matches
MRIntersectionContour.h File Reference
#include "MRMeshCollidePrecise.h"
#include "MRPch/MRBindingMacros.h"

Go to the source code of this file.

Namespaces

namespace  MR
 Only strictly necessary for the bindings (to make MR::MeshIntersectionResult a complete type).

Typedefs

using MR::ContinuousContour = Vector<VarEdgeTri>
using MR::ContinuousContours = Vector<ContinuousContour>

Functions

ContinuousContours MR::orderIntersectionContours (const MeshTopology &topologyA, const MeshTopology &topologyB, const PreciseCollisionResult &intersections)
ContinuousContours MR::orderSelfIntersectionContours (const MeshTopology &topology, const std::vector< EdgeTri > &intersections)
Contours3f MR::extractIntersectionContours (const Mesh &meshA, const Mesh &meshB, const ContinuousContours &orientedContours, const CoordinateConverters &converters, const AffineXf3f *rigidB2A=nullptr)
 extracts coordinates from two meshes intersection contours
bool MR::isClosed (const ContinuousContour &contour)
 returns true if contour is closed
std::vector< int > MR::detectLoneContours (const ContinuousContours &contours, bool ignoreOpen=false)
void MR::removeLoneDegeneratedContours (const MeshTopology &edgesTopology, OneMeshContours &faceContours, OneMeshContours &edgeContours)
void MR::removeLoneContours (ContinuousContours &contours, bool ignoreOpen=false)