Class MeshStitchLoops
Stitch together two edge loops without any constraint that they have the same vertex count
(otherwise can use MeshEditor.StitchLoop / StitchUnorderedEdges).
[TODO]
- something smarter than stitch_span_simple(). For example, equalize length we have
travelled along the span. Could also use normals to try to keep span "smooth"
- currently Loop0 and Loop1 need to be reversed/not depending on whether we are
stitching "through" mesh or not. If not set properly, then fill self-intersects.
Could we (optionally) resolve this automatically, eg by checking total of the two alternatives?
Inheritance
MeshStitchLoops
Namespace: gs
Assembly: cs.temp.dll.dll
Syntax
public class MeshStitchLoops
Constructors
MeshStitchLoops(DMesh3, EdgeLoop, EdgeLoop)
Declaration
public MeshStitchLoops(DMesh3 mesh, EdgeLoop l0, EdgeLoop l1)
Parameters
Type |
Name |
Description |
DMesh3 |
mesh |
|
EdgeLoop |
l0 |
|
EdgeLoop |
l1 |
|
Fields
Group
Declaration
public SetGroupBehavior Group
Field Value
Type |
Description |
SetGroupBehavior |
|
Loop0
Declaration
Field Value
Type |
Description |
EdgeLoop |
|
Loop1
Declaration
Field Value
Type |
Description |
EdgeLoop |
|
Mesh
Declaration
Field Value
TrustLoopOrientations
Declaration
public bool TrustLoopOrientations
Field Value
Methods
AddKnownCorrespondences(Int32[], Int32[])
specify subset of vertices that have known correspondences.
Declaration
public void AddKnownCorrespondences(int[] verts0, int[] verts1)
Parameters
Type |
Name |
Description |
Int32[] |
verts0 |
|
Int32[] |
verts1 |
|
Stitch()
Declaration
Returns