Google.Maps.Util.GeometryUtils.Vector3Comparer

An equality comparer for Vector3 objects that uses the == operator.

Summary

Using the == operator results in epsilon comparison. The == operator documentation states: two vectors are considered equal if the magnitude of their difference is less than 1e-5.

Inheritance

Inherits from: IEqualityComparer< Vector3 >

Public static attributes

Default = new Vector3Comparer()
readonly Vector3Comparer
Default singleton.

Public functions

Equals(Vector3 x, Vector3 y)
bool
GetHashCode(Vector3 obj)
int

Public static attributes

Default

readonly Vector3Comparer Default = new Vector3Comparer()

Default singleton.

Public functions

Equals

bool Equals(
  Vector3 x,
  Vector3 y
)

GetHashCode

int GetHashCode(
  Vector3 obj
)

Send feedback about...

Google Maps Platform gaming solution
Google Maps Platform gaming solution