Method Contains
Contains(int)
Tests whether this edge contains an index.
Declaration
public bool Contains(int index)
Parameters
Type | Name | Description |
---|---|---|
int | index | The index to compare against x and y. |
Returns
Type | Description |
---|---|
bool | True if x or y is equal to a. False if not. |
Contains(Edge)
Tests whether this edge has any matching index to the other edge b
.
Declaration
public bool Contains(Edge other)
Parameters
Type | Name | Description |
---|---|---|
Edge | other | The edge to compare against. |
Returns
Type | Description |
---|---|
bool | True if x or y matches either b.x or b.y. |