def FindBasePoint(inputPointArray): pointList = Enumerable.OrderBy( inputPointArray, lambda x: x.X) #X point for vertical head position firstPoint = Enumerable.First(pointList) return firstPoint
def FindTipPoint(inputPointArray): pointList = Enumerable.OrderByDescending(inputPointArray, lambda x: x.X) lastPoint = Enumerable.First(pointList) return lastPoint
def FindBasePoint(inputPointArray): pointList = Enumerable.OrderBy( inputPointArray, lambda x: x.Y) #Y point for horizontal head position firstPoint = Enumerable.First(pointList) return firstPoint
def FindBasePoint(inputPointArray): pointList = Enumerable.OrderBy(inputPointArray, lambda x: x.X) firstPoint = Enumerable.First(pointList) return firstPoint