public static void FixAllBoundaryEdges(Remesher r) { if (r.Constraints == null) { r.SetExternalConstraints(new MeshConstraints()); } FixAllBoundaryEdges(r.Constraints, r.Mesh); }
public static void PreserveBoundaryLoops(Remesher r) { if (r.Constraints == null) { r.SetExternalConstraints(new MeshConstraints()); } PreserveBoundaryLoops(r.Constraints, r.Mesh); }
public static void ConstrainVtxSpanTo(Remesher r, int[] spanV, IProjectionTarget target, int setID = -1) { if (r.Constraints == null) { r.SetExternalConstraints(new MeshConstraints()); } ConstrainVtxSpanTo(r.Constraints, r.Mesh, spanV, target); }
public static void FixAllGroupBoundaryEdges(Remesher r, bool bPinVertices) { if (r.Constraints == null) { r.SetExternalConstraints(new MeshConstraints()); } FixAllGroupBoundaryEdges(r.Constraints, r.Mesh, bPinVertices); }
public static IEnumerable <int> InteractiveRemesh(Remesher r, int nPasses) { for (int k = 0; k < nPasses; ++k) { r.BasicRemeshPass(); yield return(k); } }
public static void ConstrainVtxLoopTo(Remesher r, int[] loopV, IProjectionTarget target) { if (r.Constraints == null) { r.SetExternalConstraints(new MeshConstraints()); } ConstrainVtxLoopTo(r.Constraints, r.Mesh, loopV, target); }