class_docstr: compute planarity and return false if the planarity of a pointcloud is above or below a threshold
  
  Parameters
  ----------
  thresh: float, optional
      threshold to filter low planar pointcloud
  is_leq: bool, optional
      choose whether planarity should be lesser or equal than the threshold or greater than the threshold.
class_docstr_tok: ["compute","planarity","and","return","false","if","the","planarity","of","a","pointcloud","is","above","or","below","a","threshold","Parameters","--","--","--","--","--","thresh",":","float",",","optional","threshold","to","filter","low","planar","pointcloud","is_leq",":","bool",",","optional","choose","whether","planarity","should","be","lesser","or","equal","than","the","threshold","or","greater","than","the","threshold","."]
code: def __init__(self, thresh=0.3, is_leq=True):
      self.thresh = thresh
      self.is_leq = is_leq
  
file_path: torch-points3d/torch_points3d/core/data_transform/filters.py
imports: import numpy
  import torch
  import random
  from torch_points3d.core.data_transform.features import PCACompute, compute_planarity
label_desc: Use image node_id 1 to create a new PlanarityFilter object from inherited base classes: object with example: obj = PlanarityFilter(thresh, is_leq)