Functions

Functions#

Functions contains utility functions for geometric operations, such as calculating distances, creating boundary anchors, and extracting coordinates from points.

get_distance(p1, p2)

Returns the Euclidean distance between two points.

extract_coords_from_point(point_any_type)

Returns coordinates from a point of any type.

create_boundary_anchors(polygon, locs_cfg)

Returns anchors on the boundary of the polygon with normal to the surface