|
MRMESH_API void | MR::subdivideLoneContours (Mesh &mesh, const OneMeshContours &contours, FaceMap *new2oldMap=nullptr) |
|
MRMESH_API OneMeshContours | MR::getOneMeshIntersectionContours (const Mesh &meshA, const Mesh &meshB, const ContinuousContours &contours, bool getMeshAIntersections, const CoordinateConverters &converters, const AffineXf3f *rigidB2A=nullptr) |
|
MRMESH_API Expected< OneMeshContour, PathError > | MR::convertMeshTriPointsToMeshContour (const Mesh &mesh, const std::vector< MeshTriPoint > &meshTriPoints, SearchPathSettings searchSettings={}, std::vector< int > *pivotIndices=nullptr) |
| Makes continuous contour by mesh tri points, if first and last meshTriPoint is the same, makes closed contour.
|
|
MRMESH_API Expected< OneMeshContour, PathError > | MR::convertMeshTriPointsToClosedContour (const Mesh &mesh, const std::vector< MeshTriPoint > &meshTriPoints, SearchPathSettings searchSettings={}, std::vector< int > *pivotIndices=nullptr) |
| Makes closed continuous contour by mesh tri points, note that first and last meshTriPoint should not be same.
|
|
MRMESH_API OneMeshContour | MR::convertSurfacePathWithEndsToMeshContour (const Mesh &mesh, const MeshTriPoint &start, const SurfacePath &surfacePath, const MeshTriPoint &end) |
| Converts SurfacePath to OneMeshContours.
|
|
MRMESH_API OneMeshContours | MR::convertSurfacePathsToMeshContours (const Mesh &mesh, const std::vector< SurfacePath > &surfacePaths) |
| Converts SurfacePaths to OneMeshContours.
|
|
MRMESH_API CutMeshResult | MR::cutMesh (Mesh &mesh, const OneMeshContours &contours, const CutMeshParameters ¶ms={}) |
| Cuts mesh by given contours.
|
|
MRMESH_API std::vector< EdgePath > | MR::cutMeshWithPlane (Mesh &mesh, const Plane3f &plane, FaceMap *mapNew2Old=nullptr) |
| Simple cut mesh by plane.
|
|