CloneSet160


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8201.000StatementList[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18172
Closure/closure/goog/math/bezier.js
28204
Closure/closure/goog/math/bezier.js
Clone Instance
1
Line Count
8
Source Line
172
Source File
Closure/closure/goog/math/bezier.js

  // Step one - from 4 points to 3
  var ix0=  goog.math.lerp(this.x0, this.x1, t);
  var iy0=  goog.math.lerp(this.y0, this.y1, t);

  var ix1=  goog.math.lerp(this.x1, this.x2, t);
  var iy1=  goog.math.lerp(this.y1, this.y2, t);

  var ix2=  goog.math.lerp(this.x2, this.x3, t);
  var iy2=  goog.math.lerp(this.y2, this.y3, t);


Clone Instance
2
Line Count
8
Source Line
204
Source File
Closure/closure/goog/math/bezier.js

  // Step one - from 4 points to 3
  var ix0=  goog.math.lerp(this.x0, this.x1, t);
  var iy0=  goog.math.lerp(this.y0, this.y1, t);

  var ix1=  goog.math.lerp(this.x1, this.x2, t);
  var iy1=  goog.math.lerp(this.y1, this.y2, t);

  var ix2=  goog.math.lerp(this.x2, this.x3, t);
  var iy2=  goog.math.lerp(this.y2, this.y3, t);


Clone AbstractionParameter Count: 0Parameter Bindings

// Step one - from 4 points to 3
var ix0=goog.math.lerp(this.x0,this.x1,t);
var iy0=goog.math.lerp(this.y0,this.y1,t);
var ix1=goog.math.lerp(this.x1,this.x2,t);
var iy1=goog.math.lerp(this.y1,this.y2,t);
var ix2=goog.math.lerp(this.x2,this.x3,t);
var iy2=goog.math.lerp(this.y2,this.y3,t);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None