mrdja.geometry

Functions

find_closest_plane

Find the closest plane to a set of points based on Euclidean distance.

fit_plane_svd

get_a_polygon_from_plane_equation_and_point

Get a polygon from plane equation and point.

get_angle_between_lines

get_angle_between_vectors

get_best_plane_from_points_from_two_segments

Computes the best fitting plane to the four points of two segments.

get_centroid_of_points

Get the centroid of a set of points.

get_distance_from_point_to_plane

Get the distance from a point to a plane.

get_distance_from_points_to_plane

Get the distance from a np array of points to a plane.

get_intersection_point_of_line_with_plane

Get the intersection point of a line with a plane.

get_intersection_points_of_line_with_cube

Get the intersection points of a line with a cube.

get_limits_of_3d_graph_from_limits_of_object

Get limits of graph from limits of object.

get_limits_of_graph_from_limits_of_object

Get limits of graph from limits of object.

get_parallelepiped_3d_vertices

Get vertices of parallelepiped, given center, normal vectors, and lengths.

get_parallelogram_2d_vertices

Get vertices of parallelogram, given center, normal vectors, and lengths.

get_parallelogram_3d_vertices

Get vertices of parallelogram, given center, normal vectors, and lengths.

get_plane_equation

get_plane_from_list_of_three_points

Get plane in form Ax + By + Cz + D = 0 from list of three points.

get_point_of_plane_closest_to_given_point

Get the point of a plane closest to a given point.

get_two_perpendicular_unit_vectors_in_plane

Get two perpendicular unit vectors in a plane.