|
| CutMeshResult | MR::cutMesh (Mesh &mesh, const OneMeshContours &contours, const CutMeshParameters ¶ms={}) |
| | Cuts mesh by given contours.
|
| void | MR::reserveForCut (Mesh &mesh, const Mesh &sizeOf, const OneMeshContours &contours) |
| Expected< FaceBitSet > | MR::cutMeshByContour (Mesh &mesh, const Contour3f &contour, const AffineXf3f &xf={}) |
| Expected< FaceBitSet > | MR::cutMeshByContours (Mesh &mesh, const Contours3f &contours, const AffineXf3f &xf={}) |
| Expected< std::vector< EdgePath > > | MR::cutMeshByProjection (Mesh &mesh, const Contours3f &contours, const CutByProjectionSettings &settings) |
| | Performs orthographic projection with of given contours to mesh and cut result lines, fails if any point of contours has missed mesh on projection stage or cut contours contains self-intersections.
|
| Expected< OneMeshContours > | MR::offsetSurfaceLineToMeshContours (const Mesh &mesh, const std::vector< MeshTriPoint > &surfaceLine, float offset, SearchPathSettings searchSettings={}) |
| | Makes continuous contour by iso-line from mesh tri points, if first and last meshTriPoint is the same, makes closed contour.
|
| Expected< OneMeshContours > | MR::offsetSurfaceLineToMeshContours (const Mesh &mesh, const std::vector< MeshTriPoint > &surfaceLine, const std::function< float(int)> &offsetAtPoint, SearchPathSettings searchSettings={}) |
| | Makes continuous contour by iso-line from mesh tri points, if first and last meshTriPoint is the same, makes closed contour.
|
| Expected< OneMeshContours > | MR::convertMeshTriPointsSurfaceOffsetToMeshContours (const Mesh &mesh, const std::vector< MeshTriPoint > &surfaceLine, float offset, SearchPathSettings searchSettings={}) |
| | the old names stay in the bindings, since scripts call them
|
| Expected< OneMeshContours > | MR::convertMeshTriPointsSurfaceOffsetToMeshContours (const Mesh &mesh, const std::vector< MeshTriPoint > &surfaceLine, const std::function< float(int)> &offsetAtPoint, SearchPathSettings searchSettings={}) |