AnalyseDistance Class Reference

Public Member Functions

def __init__
def closest
 this function is called if non max. distance threshold is set or the distance is below the given threshold.
def closest
def exceeds
 this function is called if the distance between the current base vertex and the 'other' polyline exceeds the given distance threshold
def exceeds

Constructor & Destructor Documentation

def __init__ (   self)
Parameters
self(type: object) self pointer

Member Function Documentation

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

this function is called if non max. distance threshold is set or the distance is below the given threshold.

Note: if lineIdx1 == lineIdx2 then the closest point is a vertex and not a point on a segment

Parameters
[in]distanceshortest 3d/2d distance between basePt (=base[idx]) and polyline 'other'
[in]idxindex of the current vertex (of the base polyline)
[in]basePtcurrent vertex (of the base polyline)
[in]lineIdx1source point index of closest segment of polyline 'other'
[in]lineIdx2target point index of closest segment of polyline 'other'
[in]minDistPtpoint on polyline 'other' with the shortest distance to basePt

Referenced by AnalyseDistance.closest().

def closest (   arg1,
  arg2,
  arg3,
  arg4,
  arg5,
  arg6,
  arg7 
)
Parameters
arg1(type: object) mandatory parameter
arg2(type: float) mandatory parameter
arg3(type: int) mandatory parameter
arg4(type: object) mandatory parameter
arg5(type: int) mandatory parameter
arg6(type: int) mandatory parameter
arg7(type: object) mandatory parameter

References AnalyseDistance.closest().

def exceeds (   self,
  idx 
)

this function is called if the distance between the current base vertex and the 'other' polyline exceeds the given distance threshold

Parameters
[in]idxindex of the current vertex (of the base polyline)

Referenced by AnalyseDistance.exceeds().

def exceeds (   arg1,
  arg2 
)
Parameters
arg1(type: object) mandatory parameter
arg2(type: int) mandatory parameter

References AnalyseDistance.exceeds().