Exemple #1
0
 public static void FixAllBoundaryEdges(Remesher r)
 {
     if (r.Constraints == null)
     {
         r.SetExternalConstraints(new MeshConstraints());
     }
     FixAllBoundaryEdges(r.Constraints, r.Mesh);
 }
Exemple #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);
 }
Exemple #3
0
 public static void PreserveBoundaryLoops(Remesher r)
 {
     if (r.Constraints == null)
     {
         r.SetExternalConstraints(new MeshConstraints());
     }
     PreserveBoundaryLoops(r.Constraints, r.Mesh);
 }
Exemple #4
0
 public static void FixAllGroupBoundaryEdges(Remesher r, bool bPinVertices)
 {
     if (r.Constraints == null)
     {
         r.SetExternalConstraints(new MeshConstraints());
     }
     FixAllGroupBoundaryEdges(r.Constraints, r.Mesh, bPinVertices);
 }