extract_coords_from_point

extract_coords_from_point#

zeroheliumkit.src.functions.extract_coords_from_point(point_any_type: tuple | Point | Anchor) tuple[source]#

Returns coordinates from a point of any type.

Parameters:

point_any_type – A point of type tuple, Point, or Anchor.

Returns:

The coordinates of the point.

Return type:

tuple

Raises:

TypeError – If the provided point is not of type tuple, Point, or Anchor.