jhu.htmIndex
Class SpatialMarkup

java.lang.Object
  |
  +--jhu.htmIndex.SpatialMarkup

public class SpatialMarkup
extends java.lang.Object

The Spatial Markup just keeps track of the state of each node in the Index tree during an intersection with a domain. This is only for the tree kept in memory.

There are two markups: node markup and vertex markup. Node markups are

dONTKNOW
pARTIAL 
sWALLOWED
fULL
rEJECT

Vertex markups are
vTrue
vFalse
vUndef


Field Summary
static short bREJECT
           
static short dONTKNOW
           
static short fULL
           
(package private)  SpatialIndex index_
           
(package private)  short[] mark_
           
static short pARTIAL
           
static short rEJECT
           
static short sWALLOWED
           
static short vFalse
           
(package private)  short[] vmark_
           
static short vTrue
           
static short vUndef
           
 
Constructor Summary
SpatialMarkup(SpatialIndex index)
          Constructor: specify index
 
Method Summary
 void clear()
          reset node markup to reject
 void clearVertex()
          reset vertex markup to undefined
 short getMark(int ind)
          get node markup at index specified
 short getVmark(int ind)
          get vertex markup
 void setMark(int ind, short val)
          set node markup
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dONTKNOW

public static final short dONTKNOW

pARTIAL

public static final short pARTIAL

sWALLOWED

public static final short sWALLOWED

fULL

public static final short fULL

rEJECT

public static final short rEJECT

bREJECT

public static final short bREJECT

vTrue

public static final short vTrue

vFalse

public static final short vFalse

vUndef

public static final short vUndef

index_

SpatialIndex index_

mark_

short[] mark_

vmark_

short[] vmark_
Constructor Detail

SpatialMarkup

public SpatialMarkup(SpatialIndex index)
Constructor: specify index
Method Detail

clear

public void clear()
reset node markup to reject

clearVertex

public void clearVertex()
reset vertex markup to undefined

getMark

public short getMark(int ind)
get node markup at index specified

setMark

public void setMark(int ind,
                    short val)
set node markup

getVmark

public short getVmark(int ind)
get vertex markup