Class CuthillMcKee
Applies the Cuthill and McKee renumbering algorithm to reduce the bandwidth of the adjacency matrix associated with the mesh.
Inheritance
System.Object
CuthillMcKee
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: UnityEngine.Experimental.U2D.TriangleNet.Tools
Syntax
public class CuthillMcKee
Methods
Renumber(Mesh)
Gets the permutation vector for the Reverse Cuthill-McKee numbering.
Declaration
public int[] Renumber(Mesh mesh)
Parameters
Type | Name | Description |
---|---|---|
Mesh | mesh | The mesh. |
Returns
Type | Description |
---|---|
System.Int32[] | Permutation vector. |
Renumber(AdjacencyMatrix)
Gets the permutation vector for the Reverse Cuthill-McKee numbering.
Declaration
public int[] Renumber(AdjacencyMatrix matrix)
Parameters
Type | Name | Description |
---|---|---|
AdjacencyMatrix | matrix |
Returns
Type | Description |
---|---|
System.Int32[] | Permutation vector. |