Class QuadTree.Node<Value>
- java.lang.Object
-
- org.opennms.features.topology.app.internal.jung.QuadTree.Node<Value>
-
-
Constructor Summary
Constructors Constructor Description Node(java.awt.geom.Point2D location, Value value, DblBoundingBox bounds)
Node(DblBoundingBox bounds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.geom.Point2D
getCenterOfMass()
int
getCharge()
java.awt.geom.Point2D
getLocation()
Value
getValue()
double
getWidth()
double
getX()
double
getY()
boolean
isLeaf()
void
setCenterOfMass(double x, double y)
void
setCenterOfMass(java.awt.geom.Point2D location)
void
setCharge(int charge)
void
setLocation(double x, double y)
void
setLocation(java.awt.geom.Point2D location)
void
setValue(Value value)
void
visit(QuadTree.Visitor<Value> visitor)
-
-
-
Constructor Detail
-
Node
public Node(DblBoundingBox bounds)
-
Node
public Node(java.awt.geom.Point2D location, Value value, DblBoundingBox bounds)
-
-
Method Detail
-
getLocation
public java.awt.geom.Point2D getLocation()
-
setLocation
public void setLocation(java.awt.geom.Point2D location)
-
setLocation
public void setLocation(double x, double y)
-
getCenterOfMass
public java.awt.geom.Point2D getCenterOfMass()
-
setCenterOfMass
public void setCenterOfMass(java.awt.geom.Point2D location)
-
setCenterOfMass
public void setCenterOfMass(double x, double y)
-
setCharge
public void setCharge(int charge)
-
getCharge
public int getCharge()
-
getValue
public Value getValue()
-
setValue
public void setValue(Value value)
-
getWidth
public double getWidth()
-
isLeaf
public boolean isLeaf()
-
getX
public double getX()
-
getY
public double getY()
-
visit
public void visit(QuadTree.Visitor<Value> visitor)
-
-