capytaine.new_meshes.geometry module

capytaine.new_meshes.geometry.compute_distance_between_points(a, b)[source]

Compute Euclidean distance between two points in n-dimensional space.

Parameters:

a, b (array_like) – Coordinate arrays (length 3 or more).

Returns:

Euclidean distance.

Return type:

float

capytaine.new_meshes.geometry.compute_faces_areas(vertices, faces)[source]
capytaine.new_meshes.geometry.compute_faces_centers(vertices, faces)[source]
capytaine.new_meshes.geometry.compute_faces_normals(vertices, faces)[source]
capytaine.new_meshes.geometry.compute_faces_radii(vertices, faces)[source]
capytaine.new_meshes.geometry.get_vertices_face(face, vertices)[source]