check_point_equality#
- zeroheliumkit.src.utils.check_point_equality(p1: tuple | Point, p2: tuple | Point) None[source]#
Checks whether two points are equal and raises a ValueError if they are.
- Parameters:
p1 (tuple | Point) – The first point, either as a tuple or a Point object.
p2 (tuple | Point) – The second point, either as a tuple or a Point object.
- Raises:
ValueError – If p1 and p2 represent the same point.