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 for bindings generation

Typedefs

using MR::OneMeshContours = std::vector<OneMeshContour>
 Special data type for MR::cutMesh.
using MR::ContinuousContour = std::vector<VarEdgeTri>
using MR::ContinuousContours = std::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)
MR_BIND_IGNORE 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)