FlyingEdges#

class FlyingEdges(mesh, repair=True)[source]#

Bases: TriangularMesh

Attributes

Methods

FlyingEdges.fit(positions[, voxel_size, ...])

Flying edges isosurface reconstruction.

classmethod fit(positions, voxel_size=1, smoothing_strength=80.0, smoothing_iterations=15, feature_angle=120.0, **kwargs)[source]#

Flying edges isosurface reconstruction.

Parameters:
positionsnp.ndarray

Point coordinates with shape (n, 3).

voxel_sizefloat

Sampling rate of the input point cloud. Controls the distance between points considered connected.

smoothing_strengthfloat

Smoothing intensity from 0 (none) to 100 (maximum).

smoothing_iterationsint

Number of windowed sinc smoothing iterations.

feature_anglefloat

Edges sharper than this angle (degrees) between adjacent triangle normals are preserved during smoothing. 180 smooths everything; lower values protect more edges.

Returns:
FlyingEdges

Reconstructed surface mesh.