Example #1
0
 public static void FixAllBoundaryEdges(Remesher r)
 {
     if (r.Constraints == null)
     {
         r.SetExternalConstraints(new MeshConstraints());
     }
     FixAllBoundaryEdges(r.Constraints, r.Mesh);
 }
Example #2
0
 public static void ConstrainVtxLoopTo(Remesher r, int[] loopV, IProjectionTarget target, int setID = -1)
 {
     if (r.Constraints == null)
     {
         r.SetExternalConstraints(new MeshConstraints());
     }
     ConstrainVtxLoopTo(r.Constraints, r.Mesh, loopV, target);
 }
Example #3
0
 public static void PreserveBoundaryLoops(Remesher r)
 {
     if (r.Constraints == null)
     {
         r.SetExternalConstraints(new MeshConstraints());
     }
     PreserveBoundaryLoops(r.Constraints, r.Mesh);
 }
Example #4
0
 public static void FixAllGroupBoundaryEdges(Remesher r, bool bPinVertices)
 {
     if (r.Constraints == null)
     {
         r.SetExternalConstraints(new MeshConstraints());
     }
     FixAllGroupBoundaryEdges(r.Constraints, r.Mesh, bPinVertices);
 }