Skip navigation links
A C D E F G H I M N P R S T U W X Y 

A

add(Rectangle) - Method in class com.infomatiq.jsi.Rectangle
Computes the union of this rectangle and the passed rectangle, storing the result in this rectangle.
add(Point) - Method in class com.infomatiq.jsi.Rectangle
Computes the union of this rectangle and the passed point, storing the result in this rectangle.
add(Rectangle, int) - Method in class com.infomatiq.jsi.rtree.RTree
 
add(int, float) - Method in class com.infomatiq.jsi.rtree.SortedList
 
add(Rectangle, int) - Method in interface com.infomatiq.jsi.SpatialIndex
Adds a new rectangle to the spatial index
add(Rectangle, T) - Method in class de.topobyte.jsi.GenericRTree
 
add(Rectangle, T) - Method in interface de.topobyte.jsi.GenericSpatialIndex
Add thing to this index with place-occupation specified by r.
area() - Method in class com.infomatiq.jsi.Rectangle
Compute the area of this rectangle.
area(float, float, float, float) - Static method in class com.infomatiq.jsi.Rectangle
Compute the area of a rectangle.
aspectRatio() - Method in class com.infomatiq.jsi.Rectangle
 

C

centre() - Method in class com.infomatiq.jsi.Rectangle
 
checkConsistency() - Method in class com.infomatiq.jsi.rtree.RTree
Check the consistency of the tree.
clear() - Method in class com.infomatiq.jsi.PriorityQueue
 
com.infomatiq.jsi - package com.infomatiq.jsi
 
com.infomatiq.jsi.rtree - package com.infomatiq.jsi.rtree
 
containedBy(Rectangle) - Method in class com.infomatiq.jsi.Rectangle
Determine whether this rectangle is contained by the passed rectangle
contains(Rectangle) - Method in class com.infomatiq.jsi.Rectangle
Determine whether this rectangle contains the passed rectangle
contains(float, float, float, float, float, float, float, float) - Static method in class com.infomatiq.jsi.Rectangle
Determine whether or not one rectangle contains another.
contains(Rectangle, TIntProcedure) - Method in class com.infomatiq.jsi.rtree.RTree
 
contains(Rectangle, TIntProcedure) - Method in interface com.infomatiq.jsi.SpatialIndex
Finds all rectangles contained by the passed rectangle.
contains(Rectangle, TObjectProcedure<T>) - Method in class de.topobyte.jsi.GenericRTree
 
contains(Rectangle) - Method in class de.topobyte.jsi.GenericRTree
 
contains(Rectangle, TObjectProcedure<T>) - Method in interface de.topobyte.jsi.GenericSpatialIndex
Calls procedure on each element that is contained in the given rectangle r.
contains(Rectangle) - Method in interface de.topobyte.jsi.GenericSpatialIndex
Acquire a set of all elements contained in the given rectangle r.
copy() - Method in class com.infomatiq.jsi.Rectangle
Make a copy of this rectangle

D

de.topobyte.jsi - package de.topobyte.jsi
 
DefaultTraversal<T> - Class in de.topobyte.jsi
 
DefaultTraversal() - Constructor for class de.topobyte.jsi.DefaultTraversal
 
delete(Rectangle, int) - Method in class com.infomatiq.jsi.rtree.RTree
 
delete(Rectangle, int) - Method in interface com.infomatiq.jsi.SpatialIndex
Deletes a rectangle from the spatial index
delete(Rectangle, T) - Method in class de.topobyte.jsi.GenericRTree
 
delete(Rectangle, T) - Method in interface de.topobyte.jsi.GenericSpatialIndex
Remove element thing from spatial index.
distance(Point) - Method in class com.infomatiq.jsi.Rectangle
Return the distance between this rectangle and the passed point.
distance(float, float, float, float, float, float) - Static method in class com.infomatiq.jsi.Rectangle
Return the distance between a rectangle and a point.
distance(Rectangle) - Method in class com.infomatiq.jsi.Rectangle
Return the distance between this rectangle and the passed rectangle.
distanceSq(float, float, float, float, float, float) - Static method in class com.infomatiq.jsi.Rectangle
 

E

edgeOverlaps(Rectangle) - Method in class com.infomatiq.jsi.Rectangle
Determine whether an edge of this rectangle overlies the equivalent edge of the passed rectangle
element(Rectangle, int) - Method in interface com.infomatiq.jsi.rtree.Traversal
Method gets called for each element contained in the tree.
element(Rectangle, T) - Method in class de.topobyte.jsi.DefaultTraversal
 
element(Rectangle, T) - Method in interface de.topobyte.jsi.Traversal
Method gets called for each element contained in the tree.
element(Rectangle, T) - Method in class de.topobyte.jsi.TraversalPrint
 
enlargement(Rectangle) - Method in class com.infomatiq.jsi.Rectangle
Calculate the area by which this rectangle would be enlarged if added to the passed rectangle.
enlargement(float, float, float, float, float, float, float, float) - Static method in class com.infomatiq.jsi.Rectangle
Calculate the area by which a rectangle would be enlarged if added to the passed rectangle..
equals(Object) - Method in class com.infomatiq.jsi.Rectangle
Determine whether this rectangle is equal to a given object.

F

forEachId(TIntProcedure) - Method in class com.infomatiq.jsi.rtree.SortedList
 

G

GenericRTree<T> - Class in de.topobyte.jsi
An implementation of the GenericSpatialIndex that internally uses the com.infomatiq.jsi.rtree.RTree.
GenericRTree(int, int) - Constructor for class de.topobyte.jsi.GenericRTree
This constructor creates a GenericRTree.
GenericRTree() - Constructor for class de.topobyte.jsi.GenericRTree
default constructor that initializes the underlying tree to have at least 1 and at most 10 childs per node.
GenericSpatialIndex<T> - Interface in de.topobyte.jsi
An interface to a spatial index that stores generic values that occupy a rectangular area.
getBounds() - Method in class com.infomatiq.jsi.rtree.RTree
 
getBounds() - Method in interface com.infomatiq.jsi.SpatialIndex
Returns the bounds of all the entries in the spatial index, or null if there are no entries.
getBounds() - Method in class de.topobyte.jsi.GenericRTree
 
getEntryCount() - Method in class com.infomatiq.jsi.rtree.Node
 
getEntryMbb(int) - Method in class com.infomatiq.jsi.rtree.Node
 
getEntryMbrMaxX(int) - Method in class com.infomatiq.jsi.rtree.Node
 
getEntryMbrMaxY(int) - Method in class com.infomatiq.jsi.rtree.Node
 
getEntryMbrMinX(int) - Method in class com.infomatiq.jsi.rtree.Node
 
getEntryMbrMinY(int) - Method in class com.infomatiq.jsi.rtree.Node
 
getHighestUsedNodeId() - Method in class com.infomatiq.jsi.rtree.RTree
Get the highest used node ID
getId(int) - Method in class com.infomatiq.jsi.rtree.Node
 
getLevel() - Method in class com.infomatiq.jsi.rtree.Node
 
getLowestPriority() - Method in class com.infomatiq.jsi.rtree.SortedList
return the lowest priority currently stored, or float.NEGATIVE_INFINITY if no entries are stored
getMbb() - Method in class com.infomatiq.jsi.rtree.Node
 
getMbrMaxX() - Method in class com.infomatiq.jsi.rtree.Node
 
getMbrMaxY() - Method in class com.infomatiq.jsi.rtree.Node
 
getMbrMinX() - Method in class com.infomatiq.jsi.rtree.Node
 
getMbrMinY() - Method in class com.infomatiq.jsi.rtree.Node
 
getNode(int) - Method in class com.infomatiq.jsi.rtree.RTree
Get a node object, given the ID of the node.
getPriority() - Method in class com.infomatiq.jsi.PriorityQueue
 
getRootNodeId() - Method in class com.infomatiq.jsi.rtree.RTree
Get the root node ID
getValue() - Method in class com.infomatiq.jsi.PriorityQueue
 

H

hashCode() - Method in class com.infomatiq.jsi.Rectangle
 
height() - Method in class com.infomatiq.jsi.Rectangle
 

I

init(int) - Method in class com.infomatiq.jsi.rtree.SortedList
 
insert(int, float) - Method in class com.infomatiq.jsi.PriorityQueue
 
intersectionsAsList(Rectangle) - Method in class de.topobyte.jsi.GenericRTree
 
intersectionsAsList(Rectangle) - Method in interface de.topobyte.jsi.GenericSpatialIndex
Acquire a list of all elements intersecting the given rectangle r.
intersects(Rectangle) - Method in class com.infomatiq.jsi.Rectangle
Determine whether this rectangle intersects the passed rectangle
intersects(float, float, float, float, float, float, float, float) - Static method in class com.infomatiq.jsi.Rectangle
Determine whether or not two rectangles intersect
intersects(Rectangle, TIntProcedure) - Method in class com.infomatiq.jsi.rtree.RTree
 
intersects(Rectangle, TIntProcedure) - Method in interface com.infomatiq.jsi.SpatialIndex
Finds all rectangles that intersect the passed rectangle.
intersects(Rectangle, TObjectProcedure<T>) - Method in class de.topobyte.jsi.GenericRTree
 
intersects(Rectangle) - Method in class de.topobyte.jsi.GenericRTree
 
intersects(Rectangle, TObjectProcedure<T>) - Method in interface de.topobyte.jsi.GenericSpatialIndex
Calls procedure on each element that intersects the given rectangle r.
intersects(Rectangle) - Method in interface de.topobyte.jsi.GenericSpatialIndex
Acquire a set of all elements intersecting the given rectangle r.
isLeaf() - Method in class com.infomatiq.jsi.rtree.Node
 

M

maxX - Variable in class com.infomatiq.jsi.Rectangle
use primitives instead of arrays for the coordinates of the rectangle, to reduce memory requirements.
maxY - Variable in class com.infomatiq.jsi.Rectangle
use primitives instead of arrays for the coordinates of the rectangle, to reduce memory requirements.
minX - Variable in class com.infomatiq.jsi.Rectangle
use primitives instead of arrays for the coordinates of the rectangle, to reduce memory requirements.
minY - Variable in class com.infomatiq.jsi.Rectangle
use primitives instead of arrays for the coordinates of the rectangle, to reduce memory requirements.

N

nearest(Point, TIntProcedure, float) - Method in class com.infomatiq.jsi.rtree.RTree
 
nearest(Point, TIntProcedure, float) - Method in interface com.infomatiq.jsi.SpatialIndex
Finds the nearest rectangles to the passed rectangle and calls v.execute(id) for each one.
nearest(Point, TObjectProcedure<T>, float) - Method in class de.topobyte.jsi.GenericRTree
 
nearest(Point, float) - Method in class de.topobyte.jsi.GenericRTree
 
nearest(Point, TObjectProcedure<T>, float) - Method in interface de.topobyte.jsi.GenericSpatialIndex
Execute procedure on all elements that are in less or equal distance of p than distance.
nearest(Point, float) - Method in interface de.topobyte.jsi.GenericSpatialIndex
Acquire a set of all elements that are in less or equal distance of p than distance.
nearestN(Point, TIntProcedure, int, float) - Method in class com.infomatiq.jsi.rtree.RTree
 
nearestN(Point, TIntProcedure, int, float) - Method in interface com.infomatiq.jsi.SpatialIndex
Finds the N nearest rectangles to the passed rectangle, and calls execute(id, distance) on each one, in order of increasing distance.
nearestN_orig(Point, TIntProcedure, int, float) - Method in class com.infomatiq.jsi.rtree.RTree
Deprecated.
Use new NearestN or NearestNUnsorted instead. This implementation of nearestN is only suitable for small values of N (ie less than 10).
nearestNUnsorted(Point, TIntProcedure, int, float) - Method in class com.infomatiq.jsi.rtree.RTree
 
nearestNUnsorted(Point, TIntProcedure, int, float) - Method in interface com.infomatiq.jsi.SpatialIndex
Same as nearestN, except the found rectangles are not returned in sorted order.
Node - Class in com.infomatiq.jsi.rtree
Used by RTree.
node(Rectangle) - Method in interface com.infomatiq.jsi.rtree.Traversal
Method gets called for each inner node in the tree.
node(Rectangle) - Method in class de.topobyte.jsi.DefaultTraversal
 
node(Rectangle) - Method in interface de.topobyte.jsi.Traversal
Method gets called for each inner node in the tree.
node(Rectangle) - Method in class de.topobyte.jsi.TraversalPrint
 

P

Point - Class in com.infomatiq.jsi
Currently hardcoded to 2 dimensions, but could be extended.
Point(float, float) - Constructor for class com.infomatiq.jsi.Point
Constructor.
pop() - Method in class com.infomatiq.jsi.PriorityQueue
 
PriorityQueue - Class in com.infomatiq.jsi
Priority Queue that stores values as ints and priorities as floats.
PriorityQueue(boolean) - Constructor for class com.infomatiq.jsi.PriorityQueue
 
PriorityQueue(boolean, int) - Constructor for class com.infomatiq.jsi.PriorityQueue
 

R

readExternal(ObjectInput) - Method in class de.topobyte.jsi.GenericRTree
 
Rectangle - Class in com.infomatiq.jsi
Currently hardcoded to 2 dimensions, but could be extended.
Rectangle() - Constructor for class com.infomatiq.jsi.Rectangle
 
Rectangle(float, float, float, float) - Constructor for class com.infomatiq.jsi.Rectangle
Constructor.
reset() - Method in class com.infomatiq.jsi.PriorityQueue
 
reset() - Method in class com.infomatiq.jsi.rtree.SortedList
 
RTree - Class in com.infomatiq.jsi.rtree
This is a lightweight RTree implementation, specifically designed for the following features (in order of importance):
RTree() - Constructor for class com.infomatiq.jsi.rtree.RTree
Constructor with default min and max nodes per entry.
RTree(int, int) - Constructor for class com.infomatiq.jsi.rtree.RTree
Constructor with min and max nodes per entry.

S

sameObject(Object) - Method in class com.infomatiq.jsi.Rectangle
Determine whether this rectangle is the same as another object Note that two rectangles can be equal but not the same object, if they both have the same bounds.
set(Point) - Method in class com.infomatiq.jsi.Point
Copy from another point into this one
set(float, float, float, float) - Method in class com.infomatiq.jsi.Rectangle
Sets the size of the rectangle.
set(Rectangle) - Method in class com.infomatiq.jsi.Rectangle
Sets the size of this rectangle to equal the passed rectangle.
setSortOrder(boolean) - Method in class com.infomatiq.jsi.PriorityQueue
 
size() - Method in class com.infomatiq.jsi.PriorityQueue
 
size() - Method in class com.infomatiq.jsi.rtree.RTree
 
size() - Method in interface com.infomatiq.jsi.SpatialIndex
Returns the number of entries in the spatial index
size() - Method in class de.topobyte.jsi.GenericRTree
 
size() - Method in interface de.topobyte.jsi.GenericSpatialIndex
Returns the number of entries in this index.
SORT_ORDER_ASCENDING - Static variable in class com.infomatiq.jsi.PriorityQueue
 
SORT_ORDER_DESCENDING - Static variable in class com.infomatiq.jsi.PriorityQueue
 
SortedList - Class in com.infomatiq.jsi.rtree
Sorted List, backed by a TArrayList.
SortedList() - Constructor for class com.infomatiq.jsi.rtree.SortedList
 
SpatialIndex - Interface in com.infomatiq.jsi
Defines methods that must be implemented by all spatial indexes.

T

toNativeArray() - Method in class com.infomatiq.jsi.rtree.SortedList
 
toString() - Method in class com.infomatiq.jsi.Point
Print as a string in format "(x, y)"
toString() - Method in class com.infomatiq.jsi.Rectangle
Return a string representation of this rectangle, in the form: (1.2, 3.4), (5.6, 7.8)
Traversal - Interface in com.infomatiq.jsi.rtree
 
Traversal<T> - Interface in de.topobyte.jsi
 
TraversalPrint<T> - Class in de.topobyte.jsi
 
TraversalPrint() - Constructor for class de.topobyte.jsi.TraversalPrint
 
traverse() - Method in class com.infomatiq.jsi.rtree.TreeTraverser
Execute the traversal.
traverse() - Method in class de.topobyte.jsi.TreeTraverser
Execute the traversal.
TreeTraverser - Class in com.infomatiq.jsi.rtree
 
TreeTraverser(RTree, Traversal) - Constructor for class com.infomatiq.jsi.rtree.TreeTraverser
Create a new Traverser for the denoted tree.
TreeTraverser<T> - Class in de.topobyte.jsi
 
TreeTraverser(GenericRTree<T>, Traversal<T>) - Constructor for class de.topobyte.jsi.TreeTraverser
Create a new Traverser for the denoted tree.

U

union(Rectangle) - Method in class com.infomatiq.jsi.Rectangle
Find the the union of this rectangle and the passed rectangle.

W

width() - Method in class com.infomatiq.jsi.Rectangle
Utility methods (not used by JSI); added to enable this to be used as a generic rectangle class
writeExternal(ObjectOutput) - Method in class de.topobyte.jsi.GenericRTree
 

X

x - Variable in class com.infomatiq.jsi.Point
The (x, y) coordinates of the point.
xInt() - Method in class com.infomatiq.jsi.Point
 

Y

y - Variable in class com.infomatiq.jsi.Point
The (x, y) coordinates of the point.
yInt() - Method in class com.infomatiq.jsi.Point
 
A C D E F G H I M N P R S T U W X Y 
Skip navigation links