Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] View of /branches/vis15/src/tests/lamont-tests/test-sphere1.diderot
ViewVC logotype

View of /branches/vis15/src/tests/lamont-tests/test-sphere1.diderot

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4349 - (download) (annotate)
Tue Aug 2 18:14:48 2016 UTC (3 years, 5 months ago) by jhr
File size: 210 byte(s)
  Working on merge: spatial query support
input real queryRadius = 5;

strand S (real x)
{
    real pos = x;
    output int numNeighbors = 0;

    update {
	numNeighbors = length (sphere (pos, queryRadius));
    }

}

collection { S(x) | x in 0..100 }

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0