Class RemoveTrianglesMeshChange
Remove 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
RemoveTrianglesMeshChange
Namespace: g3
Assembly: cs.temp.dll.dll
Syntax
public class RemoveTrianglesMeshChange
Constructors
RemoveTrianglesMeshChange()
Declaration
public RemoveTrianglesMeshChange()
Fields
Colors
Declaration
protected DVector<Vector3f> Colors
Field Value
Normals
Declaration
protected DVector<Vector3f> Normals
Field Value
OnApplyF
Declaration
public Action<IEnumerable<int>, IEnumerable<int>> OnApplyF
Field Value
OnRevertF
Declaration
public Action<IEnumerable<int>, IEnumerable<int>> OnRevertF
Field Value
Positions
Declaration
protected DVector<Vector3d> Positions
Field Value
RemovedT
Declaration
protected DVector<int> RemovedT
Field Value
RemovedV
Declaration
protected DVector<int> RemovedV
Field Value
Triangles
Declaration
protected DVector<Index4i> Triangles
Field Value
UVs
Declaration
protected DVector<Vector2f> UVs
Field Value
Methods
Apply(DMesh3)
Declaration
public void Apply(DMesh3 mesh)
Parameters
Type |
Name |
Description |
DMesh3 |
mesh |
|
InitializeFromApply(DMesh3, IEnumerable<Int32>)
Declaration
public void InitializeFromApply(DMesh3 mesh, IEnumerable<int> triangles)
Parameters
InitializeFromExisting(DMesh3, IEnumerable<Int32>)
Declaration
public void InitializeFromExisting(DMesh3 mesh, IEnumerable<int> remove_t)
Parameters
Revert(DMesh3)
Declaration
public void Revert(DMesh3 mesh)
Parameters
Type |
Name |
Description |
DMesh3 |
mesh |
|