Lines Matching refs:tar
387 // Returns the best path from src to tar using the cost function.
397 static void aStarPath(ConnRef *lineRef, VertInf *src, VertInf *tar,
441 tar->point);
453 Node.inf->point, tar->point);
482 Node.h = estimatedCost(lineRef, NULL, Node.inf->point, tar->point);
490 tar->pathNext = NULL;
576 if (BestNode.inf == tar)
621 // Only check shape verticies, or the tar endpoint.
622 if (!(Node.inf->id.isShape) && (Node.inf != tar))
659 Node.inf->point, tar->point);
745 // backwards along the path, from the tar back to the source.
752 VertInf *tar = lineRef->dst();
758 aStarPath(lineRef, src, tar, start);
762 EdgeInf *directEdge = EdgeInf::existingEdge(src, tar);
771 tar->pathNext = src;
776 aStarPath(lineRef, src, tar, start);