UnityMol
0.9.6-875
UnityMol viewer / In developement
Main Page
Related Pages
Packages
Classes
Files
File List
File Members
EdgeArray.cs
Go to the documentation of this file.
1
using
UnityEngine
;
2
using
System
.Collections;
3
4
public
class
EdgeArray
{
5
6
private
int
[]
edgeOccupationArray
;
7
8
public
EdgeArray
() {
9
edgeOccupationArray =
new
int
[12] {-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1};
10
}
11
12
public
int
GetEdge
(
int
index) {
13
return
edgeOccupationArray[index];
14
}
15
16
public
void
SetEdge
(
int
index,
int
vertexIndex) {
17
edgeOccupationArray[index] = vertexIndex;
18
}
19
20
}
System
EdgeArray.GetEdge
int GetEdge(int index)
Definition:
EdgeArray.cs:12
UnityEngine
EdgeArray.EdgeArray
EdgeArray()
Definition:
EdgeArray.cs:8
EdgeArray
Definition:
EdgeArray.cs:4
EdgeArray.SetEdge
void SetEdge(int index, int vertexIndex)
Definition:
EdgeArray.cs:16
EdgeArray.edgeOccupationArray
int[] edgeOccupationArray
Definition:
EdgeArray.cs:6
Assets
Scripts
Surface-Electrostatic
EdgeArray.cs
Generated on Wed Aug 3 2016 15:10:27 for UnityMol by
1.8.11