MCPcopy Create free account
hub / github.com/SuperMap/iClient-JavaScript / equals

Function equals

libs/mapv/mapv.js:2085–2087  ·  view source on GitHub ↗
(p1, p2)

Source from the content-addressed store, hash-verified

2083
2084// check if two points are equal
2085function equals(p1, p2) {
2086 return p1.x === p2.x && p1.y === p2.y;
2087}
2088
2089// check if two segments intersect
2090function intersects(p1, q1, p2, q2) {

Callers 5

linkedListFunction · 0.85
filterPointsFunction · 0.85
cureLocalIntersectionsFunction · 0.85
intersectsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected