Tabnine Logo
AllEdgesIterator.detach
Code IndexAdd Tabnine to your IDE (free)

How to use
detach
method
in
com.graphhopper.routing.util.AllEdgesIterator

Best Java code snippets using com.graphhopper.routing.util.AllEdgesIterator.detach (Showing top 9 results out of 315)

origin: graphhopper/graphhopper

double dist = calc.calcDist(tmpLat, tmpLon, queryLat, queryLon);
if (circle == null || dist < calc.calcDist(circle.getLat(), circle.getLon(), queryLat, queryLon)) {
  res.setClosestEdge(iter.detach(false));
  res.setClosestNode(node);
  res.setQueryDistance(dist);
origin: graphhopper/graphhopper

res.setClosestEdge(iter.detach(false));
res.setClosestNode(node);
foundDist = fromDist;
origin: graphhopper/graphhopper

EdgeIteratorState eState = iter.detach(false);
assertEquals(iter.toString(), eState.toString());
assertTrue(iter.next());
assertNotEquals(iter.toString(), eState.toString());
EdgeIteratorState eState2 = iter.detach(true);
assertEquals(iter.getAdjNode(), eState2.getBaseNode());
assertEquals(iter.getBaseNode(), eState2.getAdjNode());
origin: com.graphhopper/graphhopper-core

double dist = calc.calcDist(tmpLat, tmpLon, queryLat, queryLon);
if (circle == null || dist < calc.calcDist(circle.getLat(), circle.getLon(), queryLat, queryLon)) {
  res.setClosestEdge(iter.detach(false));
  res.setClosestNode(node);
  res.setQueryDistance(dist);
origin: com.rgi-corp/graphhopper

double dist = calc.calcDist(tmpLat, tmpLon, queryLat, queryLon);
if (circle == null || dist < calc.calcDist(circle.getLat(), circle.getLon(), queryLat, queryLon)) {
  res.setClosestEdge(iter.detach(false));
  res.setClosestNode(node);
  res.setQueryDistance(dist);
origin: com.graphhopper/graphhopper

if (circle == null || dist < calc.calcDist(circle.getLat(), circle.getLon(), queryLat, queryLon))
  res.setClosestEdge(iter.detach(false));
  res.setClosestNode(node);
  res.setQueryDistance(dist);
origin: com.graphhopper/graphhopper-core

res.setClosestEdge(iter.detach(false));
res.setClosestNode(node);
foundDist = fromDist;
origin: com.rgi-corp/graphhopper

res.setClosestEdge(iter.detach(false));
res.setClosestNode(node);
foundDist = fromDist;
origin: com.graphhopper/graphhopper

res.setClosestEdge(iter.detach(false));
res.setClosestNode(node);
foundDist = fromDist;
com.graphhopper.routing.utilAllEdgesIteratordetach

Popular methods of AllEdgesIterator

  • getAdjNode
  • getBaseNode
  • next
  • length
  • copyPropertiesTo
  • getEdge
  • isBackward
  • isForward
  • getFlags
  • getMaxId
  • getDistance
  • setFlags
  • getDistance,
  • setFlags

Popular in Java

  • Creating JSON documents from java classes using gson
  • scheduleAtFixedRate (ScheduledExecutorService)
  • addToBackStack (FragmentTransaction)
  • getApplicationContext (Context)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • Reference (javax.naming)
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now