Loading [MathJax]/jax/output/HTML-CSS/config.js
AnalyseDistance Class Reference

callback object for collecting distance information More...

+ Inheritance diagram for AnalyseDistance:

Public Member Functions

def __init__ (self, meanDist, dLength)
 
def reset (self)
 
def closest (self, distance, idx, basePt, lineIdx1, lineIdx2, minDistPt)
 possible calls: More...
 
def exceeds (self, idx)
 possible calls: More...
 
def getLineMergerInst (self)
 
- Public Member Functions inherited from AnalyseDistance
def __init__ (self)
 

Public Attributes

 sumDistance
 
 counter
 
 exceedCounter
 
 idxDict
 
 LineMergerInst
 
 basePoints
 
 minDistPoints
 

Detailed Description

callback object for collecting distance information

Member Function Documentation

◆ closest()

def closest (   self,
  distance,
  idx,
  basePt,
  lineIdx1,
  lineIdx2,
  minDistPt 
)

possible calls:

  • closest(self, distance: object, idx: object, basePt: object, lineIdx1: object, lineIdx2: object, minDistPt: object)
  • closest(self, arg1: object, arg2: object, arg3: object, arg4: object, arg5: object, arg6: object)
Parameters
self(type: AnalyseDistance) self pointer
distance(type: object) mandatory parameter
idx(type: object) mandatory parameter
basePt(type: object) mandatory parameter
lineIdx1(type: object) mandatory parameter
lineIdx2(type: object) mandatory parameter
minDistPt(type: object) mandatory parameter

Reimplemented from AnalyseDistance.

References LineMerger.basePoints, AnalyseDistance.basePoints, AnalyseDistance.counter, AnalyseDistance.LineMergerInst, LineMerger.minDistPoints, AnalyseDistance.minDistPoints, and AnalyseDistance.sumDistance.

◆ exceeds()

def exceeds (   self,
  idx 
)

possible calls:

  • exceeds(self, idx: object)
  • exceeds(self, arg1: object)
Parameters
self(type: AnalyseDistance) self pointer
idx(type: object) mandatory parameter

Reimplemented from AnalyseDistance.

References AnalyseDistance.exceedCounter, and AnalyseDistance.LineMergerInst.