Struct CommonEdge
Contains PolyEdge with it's accompanying common lookup edge.
Implements
Inherited Members
Namespace: UnityEngine .Polybrush
Assembly: Unity.Polybrush.dll
Syntax
public struct CommonEdge : IEquatable<CommonEdge>
Methods
Equals(object)
Equality comparer for CommonEdge
Declaration
public override bool Equals(object b)
Parameters
Type | Name | Description |
---|---|---|
object | b | System.Object that should be compare to this |
Returns
Type | Description |
---|---|
bool | true if the 2 elements are CommonEdge and are equals |
Overrides
Equals(CommonEdge)
Equality comparer for CommonEdge
Declaration
public bool Equals(CommonEdge b)
Parameters
Type | Name | Description |
---|---|---|
Common |
b | CommonEdge to compare to this |
Returns
Type | Description |
---|---|
bool | true if the 2 CommonEdge are equals |
GetHashCode()
HashCode Generation
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | unique hashcode for CommonEdge |
Overrides
ToString()
Stringification of the CommonEdge data
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | String representing the CommonEdge |
Overrides
Operators
operator ==(CommonEdge, CommonEdge)
Equality comparer for CommonEdge with == operator
Declaration
public static bool operator ==(CommonEdge a, CommonEdge b)
Parameters
Type | Name | Description |
---|---|---|
Common |
a | CommonEdge to compare |
Common |
b | CommonEdge to compare to |
Returns
Type | Description |
---|---|
bool | true if the 2 elements are equals |
operator !=(CommonEdge, CommonEdge)
Equality comparer for CommonEdge with != operator
Declaration
public static bool operator !=(CommonEdge a, CommonEdge b)
Parameters
Type | Name | Description |
---|---|---|
Common |
a | CommonEdge to compare |
Common |
b | CommonEdge to compare to |
Returns
Type | Description |
---|---|
bool | true if the 2 elements are different |