Method Equals
Equals(object)
Determines whether the specified generic object is equal to this Vertex.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare this Vertex object to. |
Returns
Type | Description |
---|---|
bool | True if the other object is a Vertex and is equal to this. |
Overrides
Equals(Vertex)
Determines whether the specified Vertex object is equal to this Vertex by checking whether all components are within a certain distance of the other.
Declaration
public bool Equals(Vertex other)
Parameters
Type | Name | Description |
---|---|---|
Vertex | other | The other Vertex to compare to. |
Returns
Type | Description |
---|---|
bool | True if all values are the same (within float.Epsilon). |
Implements
Equals(Vertex, MeshArrays)
Determines whether the specified Vertex object is equal to this Vertex by checking whether each
component for a specific set of attributes is within a certain distance of the other. The MeshArrays
mask
determines which set of attributes to compare.
Declaration
public bool Equals(Vertex other, MeshArrays mask)
Parameters
Type | Name | Description |
---|---|---|
Vertex | other | The other Vertex to compare to. |
MeshArrays | mask | A bitmask that defines which attributes to compare. |
Returns
Type | Description |
---|---|
bool | True if all values are the same (within float.Epsilon). |