equals method

equals

Compares this distance annotation with another using the IEquatable Equals method.

def equals(self, other):
    ...
Parameter Type Description
other DistanceAnnotation The DistanceAnnotation object to compare with the current object.

equals

Compares distance annotation using standard object Equals method.

def equals(self, obj):
    ...
Parameter Type Description
obj Any The object to compare with the current object.

Returns: bool: True if the specified object is equal to the current distance annotation; otherwise False.

See Also