A B 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
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
 

B

BuildProperties - Class in com.infomatiq.jsi
Allows build properties to be retrieved at runtime.

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.
copy() - Method in class com.infomatiq.jsi.Rectangle
Make a copy of this rectangle

D

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
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
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

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.
getEntryCount() - 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
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
getScmRevisionId() - Static method in class com.infomatiq.jsi.BuildProperties
SCM revision ID.
getValue() - Method in class com.infomatiq.jsi.PriorityQueue
 
getVersion() - Static method in class com.infomatiq.jsi.BuildProperties
Version number as specified in pom.xml
getVersion() - Method in class com.infomatiq.jsi.rtree.RTree
 
getVersion() - Method in interface com.infomatiq.jsi.SpatialIndex
Returns a string identifying the type of spatial index, and the version number, eg "SimpleIndex-0.1"

H

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

I

init(Properties) - Method in class com.infomatiq.jsi.rtree.RTree
Initialize implementation dependent properties of the RTree.
init(int) - Method in class com.infomatiq.jsi.rtree.SortedList
 
init(Properties) - Method in interface com.infomatiq.jsi.SpatialIndex
Initializes any implementation dependent properties of the spatial index.
insert(int, float) - Method in class com.infomatiq.jsi.PriorityQueue
 
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.

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.
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.

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

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): Fast intersection query performance.
RTree() - Constructor for class com.infomatiq.jsi.rtree.RTree
Constructor.

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
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)

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

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 B C D E F G H I M N P R S T U W X Y

Copyright © 2012. All Rights Reserved.