Exemple #1
0
 /// <summary>
 /// Initialise a new MeshDivisionEdge for the specified edge of the specified face
 /// </summary>
 /// <param name="face"></param>
 /// <param name="edgeIndex"></param>
 public MeshDivisionEdge(MeshFace face, int edgeIndex)
     : this(face[edgeIndex], face.GetWrapped(edgeIndex + 1))
 {
 }
Exemple #2
0
 /// <summary>
 /// Get the ID string for the specified edge of the face
 /// </summary>
 /// <param name="face"></param>
 /// <param name="edgeIndex"></param>
 /// <returns></returns>
 public static string IDFor(MeshFace face, int edgeIndex)
 {
     return(IDFor(face[edgeIndex], face.GetWrapped(edgeIndex + 1)));
 }