Class QuadTree.Node<Value>
- java.lang.Object
-
- org.opennms.features.topology.app.internal.jung.QuadTree.Node<Value>
-
-
Constructor Summary
Constructors Constructor Description Node(Point2D location, Value value, DblBoundingBox bounds)Node(DblBoundingBox bounds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Point2DgetCenterOfMass()intgetCharge()Point2DgetLocation()ValuegetValue()doublegetWidth()doublegetX()doublegetY()booleanisLeaf()voidsetCenterOfMass(double x, double y)voidsetCenterOfMass(Point2D location)voidsetCharge(int charge)voidsetLocation(double x, double y)voidsetLocation(Point2D location)voidsetValue(Value value)voidvisit(QuadTree.Visitor<Value> visitor)
-
-
-
Constructor Detail
-
Node
public Node(DblBoundingBox bounds)
-
Node
public Node(Point2D location, Value value, DblBoundingBox bounds)
-
-
Method Detail
-
getLocation
public Point2D getLocation()
-
setLocation
public void setLocation(Point2D location)
-
setLocation
public void setLocation(double x, double y)
-
getCenterOfMass
public Point2D getCenterOfMass()
-
setCenterOfMass
public void setCenterOfMass(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)
-
-