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