Exemple #1
0
        public List <MeshEdge> FindMeshEdges(Vertex vertex1, Vertex vertex2)
        {
            List <MeshEdge> meshEdges = new List <MeshEdge>();

            foreach (MeshEdge meshEdge in vertex1.ConnectedMeshEdges())
            {
                if (meshEdge.IsConnectedTo(vertex2))
                {
                    meshEdges.Add(meshEdge);
                }
            }

            return(meshEdges);
        }
Exemple #2
0
		public List<MeshEdge> FindMeshEdges(Vertex vertex1, Vertex vertex2)
		{
			List<MeshEdge> meshEdges = new List<MeshEdge>();

			foreach (MeshEdge meshEdge in vertex1.ConnectedMeshEdges())
			{
				if (meshEdge.IsConnectedTo(vertex2))
				{
					meshEdges.Add(meshEdge);
				}
			}

			return meshEdges;
		}