 //    }
     
     private func internalScale(distance d: BKFloat?, distanceFunction distanceFn: DistanceFunction?) -> Self {
-        
         // TODO: this is a good candidate for enum, d is EITHER constant or a function
         precondition((d != nil && distanceFn == nil) || (d == nil && distanceFn != nil))
         

            return Self.init(points: np)
        }
        else {
            
            let clockwise = self.clockwise
            for t in [0,1] {
                if (self.order==2) && (t != 0) {
                    break

            p = list
        }
        return ret
    }
    
    private var linear: Bool {
