Search Results for

    Show / Hide Table of Contents

    Class AddTrianglesMeshChange

    Add triangles from mesh and store necessary data to be able to reverse the change. Vertex and Triangle IDs will be restored on Revert() Currently does not restore the same EdgeIDs

    Inheritance
    Object
    AddTrianglesMeshChange
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: g3
    Assembly: cs.temp.dll.dll
    Syntax
    public class AddTrianglesMeshChange

    Constructors

    AddTrianglesMeshChange()

    Declaration
    public AddTrianglesMeshChange()

    Fields

    AddedT

    Declaration
    protected DVector<int> AddedT
    Field Value
    Type Description
    DVector<Int32>

    AddedV

    Declaration
    protected DVector<int> AddedV
    Field Value
    Type Description
    DVector<Int32>

    Colors

    Declaration
    protected DVector<Vector3f> Colors
    Field Value
    Type Description
    DVector<Vector3f>

    Normals

    Declaration
    protected DVector<Vector3f> Normals
    Field Value
    Type Description
    DVector<Vector3f>

    OnApplyF

    Declaration
    public Action<IEnumerable<int>, IEnumerable<int>> OnApplyF
    Field Value
    Type Description
    Action<IEnumerable<Int32>, IEnumerable<Int32>>

    OnRevertF

    Declaration
    public Action<IEnumerable<int>, IEnumerable<int>> OnRevertF
    Field Value
    Type Description
    Action<IEnumerable<Int32>, IEnumerable<Int32>>

    Positions

    Declaration
    protected DVector<Vector3d> Positions
    Field Value
    Type Description
    DVector<Vector3d>

    Triangles

    Declaration
    protected DVector<Index4i> Triangles
    Field Value
    Type Description
    DVector<Index4i>

    UVs

    Declaration
    protected DVector<Vector2f> UVs
    Field Value
    Type Description
    DVector<Vector2f>

    Methods

    Apply(DMesh3)

    Declaration
    public void Apply(DMesh3 mesh)
    Parameters
    Type Name Description
    DMesh3 mesh

    InitializeFromExisting(DMesh3, IEnumerable<Int32>, IEnumerable<Int32>)

    Declaration
    public void InitializeFromExisting(DMesh3 mesh, IEnumerable<int> added_v, IEnumerable<int> added_t)
    Parameters
    Type Name Description
    DMesh3 mesh
    IEnumerable<Int32> added_v
    IEnumerable<Int32> added_t

    Revert(DMesh3)

    Declaration
    public void Revert(DMesh3 mesh)
    Parameters
    Type Name Description
    DMesh3 mesh
    In This Article
    Back to top ViRGIS VR GIS