|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmtree.NodeEntry
public class NodeEntry
Nested Class Summary | |
---|---|
static class |
NodeEntry.HREntry
Static class used for HR array of precomputed distances. |
Constructor Summary | |
---|---|
NodeEntry(InternalNode n,
messif.objects.LocalAbstractObject o,
Node subtree,
NodeEntry.HREntry[] hr)
Constructors |
Method Summary | |
---|---|
float |
computeAndSetDistanceToParent()
Computes and sets the distance between this node entry and its parent pivot. |
NodeEntry.HREntry[] |
getHR()
Returns the HR array of precomputed distances. |
InternalNode |
getNode()
Returns the node in which this node entry is stored. |
messif.objects.LocalAbstractObject |
getObject()
Returns the pivot connected with this node entry. |
float |
getParentDist()
Returns the distance to the parent pivot. |
float |
getRadius()
Returns the radius of this node entry covering all descendants. |
Node |
getSubtree()
Returns the subtree of this node entry. |
void |
setNode(InternalNode n)
Sets the node in which this node entry is stored. |
void |
setRadius(float r)
Sets the radius of this node entry covering all descendants. |
void |
setSubtree(Node subtree)
Sets the subtree of this node entry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NodeEntry(InternalNode n, messif.objects.LocalAbstractObject o, Node subtree, NodeEntry.HREntry[] hr)
Method Detail |
---|
public InternalNode getNode()
public void setNode(InternalNode n)
public messif.objects.LocalAbstractObject getObject()
public float getParentDist()
UNKNOWN_DISTANCE
if this node entry has no parent)public float getRadius()
public void setRadius(float r)
public Node getSubtree()
public void setSubtree(Node subtree)
public NodeEntry.HREntry[] getHR()
public float computeAndSetDistanceToParent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |