Lines Matching refs:intersection

28150 	      intersection = getApproxIntersection(waypoints, localPosition);
28152 return intersection;
28401 function isIntersectionMiddle(intersection, waypoints, treshold) { argument
28402 var idx = intersection.index,
28403 p = intersection.point,
28406 if (idx <= 0 || intersection.bendpoint) {
28423 function calculateIntersectionThreshold(connection, intersection) { argument
28427 if (intersection.index <= 0 || intersection.bendpoint) {
28433 start: waypoints[intersection.index - 1],
28434 end: waypoints[intersection.index]
28457 intersection = getConnectionIntersection(canvas, waypoints, event),
28460 if (!intersection) {
28464 threshold = calculateIntersectionThreshold(connection, intersection);
28466 if (isIntersectionMiddle(intersection, waypoints, threshold)) {
28467 connectionSegmentMove.start(event, connection, intersection.index);
28469 bendpointMove.start(event, connection, intersection.index, !intersection.bendpoint);
28585 function updateFloatingBendpointPosition(parentGfx, intersection) { argument
28587 point = intersection.point;
28597 function updateSegmentDraggerPosition(parentGfx, intersection, waypoints) { argument
28599 var draggerGfx = getSegmentDragger(intersection.index, parentGfx),
28600 segmentStart = waypoints[intersection.index - 1],
28601 segmentEnd = waypoints[intersection.index],
28602 point = intersection.point,
28665 intersection;
28670 intersection = getConnectionIntersection(canvas, waypoints, event.originalEvent);
28672 if (!intersection) {
28676 updateFloatingBendpointPosition(bendpointsGfx, intersection);
28678 if (!intersection.bendpoint) {
28679 updateSegmentDraggerPosition(bendpointsGfx, intersection, waypoints);
29272 intersection = getConnectionIntersection(canvas, waypoints, event),
29293 if (intersection) {
29294 dragPosition = intersection.point;
34037 copyProps = intersection(elementProps, newElementProps);
34223 function intersection(a1, a2) { function
41281 var intersection = getApproxIntersection(waypoints, mid);
41283 if (intersection) {
41284 waypointsBefore = waypoints.slice(0, intersection.index);
41285 waypointsAfter = waypoints.slice(intersection.index + (intersection.bendpoint ? 1 : 0));
41292 dockingPoint = intersection.bendpoint ? waypoints[intersection.index] : mid;
43719 var intersection = lineIntersect(
43725 if (intersection) {
43728 [ intersection ],