Search Results for

    Show / Hide Table of Contents

    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
    Object
    MeshStitchLoops
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    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
    public EdgeLoop Loop0
    Field Value
    Type Description
    EdgeLoop

    Loop1

    Declaration
    public EdgeLoop Loop1
    Field Value
    Type Description
    EdgeLoop

    Mesh

    Declaration
    public DMesh3 Mesh
    Field Value
    Type Description
    DMesh3

    TrustLoopOrientations

    Declaration
    public bool TrustLoopOrientations
    Field Value
    Type Description
    Boolean

    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
    public bool Stitch()
    Returns
    Type Description
    Boolean
    In This Article
    Back to top ViRGIS VR GIS