Represents the indices of an edge (two connected vertices) in an indexed mesh.
More...
|
int | Vertex1 [get] |
| First vertex index, which is the lower of the two. More...
|
|
int | Vertex2 [get] |
| Second vertex index, which is the higher of the two. More...
|
|
|
int | _minVertex |
| (Serialized) First vertex index, which is the lower of the two. More...
|
|
int | _maxVertex |
| (Serialized) Second vertex index, which is the higher of the two. More...
|
|
Represents the indices of an edge (two connected vertices) in an indexed mesh.
The same Edge will be created regardless of the order in which indices are fed to the constructor.
◆ Edge()
Infohazard.HyperNav.Edge.Edge |
( |
int |
vertex1, |
|
|
int |
vertex2 |
|
) |
| |
Construct a new Edge with the given indices.
The order of the indices doesn't matter; the same Edge is constructed either way. The indices cannot be the same.
- Parameters
-
vertex1 | First vertex index. |
vertex2 | Second vertex index. |
◆ Equals() [1/2]
bool Infohazard.HyperNav.Edge.Equals |
( |
Edge |
other | ) |
|
Compare to another Edge.
- Parameters
-
- Returns
- Whether the two edges are equal.
◆ Equals() [2/2]
override bool Infohazard.HyperNav.Edge.Equals |
( |
object |
obj | ) |
|
Compare to another object.
- Parameters
-
- Returns
- Whether the two objects are equal.
◆ GetHashCode()
override int Infohazard.HyperNav.Edge.GetHashCode |
( |
| ) |
|
Get integer for use with hash table.
- Returns
- Integer hash code.
◆ _maxVertex
int Infohazard.HyperNav.Edge._maxVertex |
|
private |
(Serialized) Second vertex index, which is the higher of the two.
◆ _minVertex
int Infohazard.HyperNav.Edge._minVertex |
|
private |
(Serialized) First vertex index, which is the lower of the two.
◆ Vertex1
int Infohazard.HyperNav.Edge.Vertex1 |
|
get |
First vertex index, which is the lower of the two.
◆ Vertex2
int Infohazard.HyperNav.Edge.Vertex2 |
|
get |
Second vertex index, which is the higher of the two.
The documentation for this struct was generated from the following file: