Operator operator -
operator -(Edge, Edge)
Creates a new Edge by subtracting the two left indices together and the two right indices together from both Edge objects.
Declaration
public static Edge operator -(Edge a, Edge b)
Parameters
Type | Name | Description |
---|---|---|
Edge | a | Left edge. |
Edge | b | Right edge. |
Returns
Type | Description |
---|---|
Edge | A new edge where |
operator -(Edge, int)
Creates a new Edge by subtracting an integer from both indices on an Edge object.
Declaration
public static Edge operator -(Edge a, int b)
Parameters
Type | Name | Description |
---|---|---|
Edge | a | The Edge to subtract from. |
int | b | The value to subtract. |
Returns
Type | Description |
---|---|
Edge | A new edge where |