;; | ---------------------------------------------------------------------------- ;; | GE_DistDefAngWeed ;; | ---------------------------------------------------------------------------- ;; | Function : Weed a list based on inter-vertex distance AND angular deflection ;; | between the points. ;; | The deflection angle is considered to be 'Front' i.e the angle ;; | checked is between this - CurPt, NextPt and NextNextPt. ;; | Arguments: ;; | 'vlist' - List to be weeded ;; | 'WeedDist' - Maximum Distance allowable between points. ;; | 'WeedAng' - Deflection angle to check between points. ;; | 'MeasD' - Measure Distance in 2D or 3D (accepts "Slope" or ;; | "Horiz") ;; | Return : Returns two lists, the first one is a list of retained points ;; | and the second is a list of points which were weeded along with ;; | their list array index (starting from 0). ;; | Comments : The first and last points of the list will never be weed