Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Edge.prototype.matchEdge = function (pEdge){
- //if the indexes match either way round
- //(A+B).C+D+E+F = !(!A.!B).C+D+E+F = A.B.C+D+E+F
- return
- this.point0 != pEdge.point0 ||//A
- this.point1 != pEdge.point1 ||//B
- this.point0 == pEdge.point1 &&//C
- this.point1 == pEdge1.point0 &&//D
- this.vector == false && //E
- this.weight == pEdge.weight;//F
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement