skshapes.triangle_mesh.geometry.edge_centers
- skshapes.triangle_mesh.geometry.edge_centers(points, triangles, edge_topology=None)
Centers of the edges of a triangular mesh.
- Parameters:
points (
Float32[Tensor, '_ 2']|Float32[Tensor, '_ 3']|Float32[Tensor, '_ _ 2']|Float32[Tensor, '_ _ 3']) – Points or sequence of points with shape (n_points, n_poses, dim).triangles (
Int64[Tensor, '_ 3']) – Triangles of the mesh.edge_topology (
EdgeTopology|None) – Edge topology of the mesh. If not provided, it will be computed from the triangles.
- Return type:
Float32[Tensor, '_ _']|Float32[Tensor, '_ _ _']- Returns:
_description_