CloneSet1192


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2210.981ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12149
Closure/closure/goog/math/coordinate3.js
22293
Closure/closure/goog/math/vec3.js
Clone Instance
1
Line Count
2
Source Line
149
Source File
Closure/closure/goog/math/coordinate3.js

/**
 * Returns the difference between two coordinates as a new
 * goog.math.Coordinate3.
 *
 * @param {goog.math.Coordinate3} a A Coordinate3.
 * @param {goog.math.Coordinate3} b A Coordinate3.
 * @return {goog.math.Coordinate3} A Coordinate3 representing the difference
 *     between {@code a} and {@code b}.
 */
goog.math.Coordinate3.difference=  function (a, b){
  return new goog.math.Coordinate3(a.x-  b.x, a.y-  b.y, a.z-  b.z);
                                                  } ;


Clone Instance
2
Line Count
2
Source Line
293
Source File
Closure/closure/goog/math/vec3.js

/**
 * Returns the difference of two vectors as a new Vec3.
 *
 * @param {goog.math.Vec3} a The first vector.
 * @param {goog.math.Vec3} b The second vector.
 * @return {goog.math.Vec3} The difference vector.
 */
goog.math.Vec3.difference=  function (a, b){
  return new goog.math.Vec3(a.x-  b.x, a.y-  b.y, a.z-  b.z);
                                           } ;


Clone AbstractionParameter Count: 1Parameter Bindings

/**
 * Returns the difference between two coordinates as a new
 * goog.math.Coordinate3.
 *
 * @param {goog.math.Coordinate3} a A Coordinate3.
 * @param {goog.math.Coordinate3} b A Coordinate3.
 * @return {goog.math.Coordinate3} A Coordinate3 representing the difference
 *     between {@code a} and {@code b}.
 */
/**
 * Returns the difference of two vectors as a new Vec3.
 *
 * @param {goog.math.Vec3} a The first vector.
 * @param {goog.math.Vec3} b The second vector.
 * @return {goog.math.Vec3} The difference vector.
 */
goog.math. [[#variable399cd280]].difference= function (a,b)
                                             { return new goog.math. [[#variable399cd280]](a.x-b.x,a.y-b.y,a.z-b.z);
                                             } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#399cd280]]
Coordinate3 
12[[#399cd280]]
Vec3