PointIndexLeaf Class Reference

object representing a spatial leaf within a point index More...

+ Inheritance diagram for PointIndexLeaf:

Public Member Functions

def __init__ (self, type, dimension, threadsafe)
 
def addPoint (self, arg1)
 
def build (self)
 
def clear (self)
 
def estimatePointDensity (self)
 
def getIndexLimit (self)
 get index based bounding box (if no index bounding available the points based bounding box is returned) More...
 
def getLimit (self)
 get points based bounding box More...
 
def id (self)
 
def indexDim (self)
 
def isChanged (self)
 
def points (self, *args, **kwargs)
 possible calls: More...
 
def searchPoint (self, *args, **kwargs)
 possible calls: More...
 
def setChanged (self, arg1)
 
def sizePoint (self)
 

Detailed Description

object representing a spatial leaf within a point index

Whereas IPointIndexLeaf objects are fully kept in memory, IPointIndex objects may consists of multiple IPointIndexLeaf objects that can be swapped to disk. For details see Internal Structure of the Datamanager

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  type,
  dimension,
  threadsafe 
)
Parameters
self(type: object) self pointer
type(type: IndexType) mandatory parameter
dimension(type: object) mandatory parameter
threadsafe(type: object) mandatory parameter
Returns
(type: object)

Member Function Documentation

◆ addPoint()

def addPoint (   self,
  arg1 
)
Parameters
self(type: PointIndexLeaf) self pointer
arg1(type: Point) mandatory parameter

◆ build()

def build (   self)
Parameters
self(type: PointIndexLeaf) self pointer

◆ clear()

def clear (   self)
Parameters
self(type: PointIndexLeaf) self pointer

◆ estimatePointDensity()

def estimatePointDensity (   self)
Parameters
self(type: PointIndexLeaf) self pointer
Returns
(type: float)

◆ getIndexLimit()

def getIndexLimit (   self)

get index based bounding box (if no index bounding available the points based bounding box is returned)

◆ getLimit()

def getLimit (   self)

get points based bounding box

◆ id()

def id (   self)
Parameters
self(type: PointIndexLeaf) self pointer
Returns
(type: int)

◆ indexDim()

def indexDim (   self)
Parameters
self(type: PointIndexLeaf) self pointer
Returns
(type: int)

◆ isChanged()

def isChanged (   self)
Parameters
self(type: PointIndexLeaf) self pointer
Returns
(type: bool)

◆ points()

def points (   self,
args,
**  kwargs 
)

possible calls:

  • points(self)
  • points(self, layout: AddInfoLayout, readOnly: object)
  • points(self, filter: Filter)
  • points(self, filter: Filter, layout: AddInfoLayout, readOnly: object)
Parameters
self(type: object) self pointer
*args(type: list) mandatory parameter
**kwargs(type: dict) mandatory parameter
Returns
(type: PointFilterIteratorRange)

◆ searchPoint()

def searchPoint (   self,
args,
**  kwargs 
)

possible calls:

  • searchPoint(self, arg1: Window, arg2: object)
  • searchPoint(self, arg1: Box, arg2: object)
  • searchPoint(self, arg1: Polygon)
  • searchPoint(self, arg1: Circle)
  • searchPoint(self, arg1: Sphere)
  • searchPoint(self, arg1: Cylinder)
  • searchPoint(self, nnCount: object, queryPt: Point, maxDistance: object, selectionMode: SelectionMode)
Parameters
self(type: object) self pointer
*args(type: list) mandatory parameter
**kwargs(type: dict) mandatory parameter
Returns
(type: list)

◆ setChanged()

def setChanged (   self,
  arg1 
)
Parameters
self(type: PointIndexLeaf) self pointer
arg1(type: object) mandatory parameter

◆ sizePoint()

def sizePoint (   self)
Parameters
self(type: PointIndexLeaf) self pointer
Returns
(type: int)