src.utils.neighborhood.support_neighborhoodspp

Classes

SupportNeighborhoodsPP(neighborhood_spec, ...)

class src.utils.neighborhood.support_neighborhoodspp.SupportNeighborhoodsPP(neighborhood_spec, **kwargs)
Author:

Alberto M. Esmoris Pena

C++ version of SupportNeighborhoods.

It supports more types of neighborhoods like bounded cylindrical, 2D-KNN, 3D-KNN, bounded 2D-KNN, and bounded 3D-KNN neighborhoods.

__init__(neighborhood_spec, **kwargs)

Initialization/instantiation of a SupportNeighborhoods object.

See FurthestPointSubsamplingPreProcessor, furthest_point_subsampling_pre_processor.FurthestPointSubsamplingPreProcessor.find_neighborhood(), HierarchicalFPSPreProcessor, and hierarchical_fps_pre_processor.HierarchicalFpsPreProcessor.find_neighborhoood().

Parameters:
  • neighborhood_spec (dict) – The neighborhood specification governing the behavior of the support neighborhoods object.

  • kwargs (dict) – The key-word arguments defining the support neighborhoods object.

compute(X, y=None, kdt=None)

C++ version of SupportNeighborhoods.compute().