lsdo_genie.utils.Hicken_Kaur

Module Contents

Functions

explicit_lsf(pts, data_points, data_normals, k, rho)

Explicit level set function derived by Hicken and Kaur which interpolates

lsdo_genie.utils.Hicken_Kaur.explicit_lsf(pts, data_points: scipy.spatial.KDTree, data_normals, k, rho)

Explicit level set function derived by Hicken and Kaur which interpolates data points via piecewise linear signed distance functions defined by local hyperplanes. The function is defined by these piecewise functions with KS-aggregation, but is non-differentiable if only using the k-nearest neighbors.

“An Explicit Level-Set Formula to Approximate Geometries” Jason E. Hicken and Sharanjeet Kaur doi:10.2514/6.2022-1862

Parameters:
pointsnp.ndarray(N,d)

Points to evaluate the level set funcion

data_pointsscipy.spatial.KDTree

KDTree structure of the point cloud

data_normalsnp.ndarray(Ngamma,d)

Normal vectors of the point cloud

kint

Numer of nearest neighbors to include in the function

rhofloat

Smoothing parameter

Returns:
phinp.ndarray(N,)

Approximate signed distance value of the points