mosaic.parametrization.ConvexHull#
- class ConvexHull(mesh, repair=True)[source]#
Bases:
TriangularMeshRepresent a point cloud as triangular mesh.
- Parameters:
- meshopen3d.cpu.pybind.geometry.TriangleMesh
Triangular mesh.
- __init__(mesh, repair=True)#
Methods
__init__(mesh[, repair])add_projections(projections, triangle_indices)Add projected points to the mesh by splitting triangles.
compute_curvature([curvature, radius])compute_distance(points[, normals, ...])Compute distance to mesh by ray-casting.
compute_normal(points)Compute the normal vector at a given point on the surface.
compute_vertex_normals()fit(positions[, voxel_size, alpha, ...])Fit a parametrization to a point cloud.
from_file(file_path)geodesic_distance(target_vertices[, ...])Compute geodesic distance from target vertices to their k-nearest source vertices on the mesh.
points_per_sampling(sampling_density[, ...])Computes the approximate number of random samples required to achieve a given spatial sampling_density.
sample(n_samples[, mesh_init_factor, ...])Samples points from the Triangular mesh.
to_file(file_path)Attributes
trianglesvertices