|
GraphLab Project | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of GraphPoint in graphlab.graph |
---|
Methods in graphlab.graph that return GraphPoint | |
---|---|
static GraphPoint |
GraphUtils.createGraphPoint(GraphModel g,
int viewx,
int viewy)
creates a new graph point from the given point according too graph zoom, The input x and y are typically are directly from view, notice that inside the GraphLab everything are GraphPoint, so they are independent of zoom use this method only if you want to convert a view point to graph point! |
Methods in graphlab.graph with parameters of type GraphPoint | |
---|---|
static java.awt.Point |
GraphUtils.createViewPoint(GraphModel g,
GraphPoint p)
|
static boolean |
GraphUtils.isPointOnVertex(GraphModel g,
VertexModel v,
GraphPoint p)
|
static Pair<EdgeModel,java.lang.Double> |
GraphUtils.mindiste(GraphModel g,
GraphPoint p)
|
static Pair<VertexModel,java.lang.Double> |
GraphUtils.mindistv(GraphModel g,
GraphPoint p)
|
Uses of GraphPoint in graphlab.graph.event |
---|
Fields in graphlab.graph.event declared as GraphPoint | |
---|---|
GraphPoint |
EdgeEvent.mousePos
|
GraphPoint |
GraphEvent.mousePos
position of mouse according to top left point of graph |
GraphPoint |
VertexEvent.mousePos
|
Methods in graphlab.graph.event with parameters of type GraphPoint | |
---|---|
static EdgeEvent |
EdgeEvent.clicked(EdgeModel e,
GraphPoint mousePos,
int mouseBtn)
|
static VertexEvent |
VertexEvent.clicked(VertexModel v,
GraphPoint mousePos,
int mouseBtn,
int modifiersEx)
|
static VertexEvent |
VertexEvent.doubleClicked(VertexModel v,
GraphPoint mousePos,
int mouseBtn,
int modifiersEx)
|
static EdgeEvent |
EdgeEvent.dragging(EdgeModel e,
GraphPoint mousePos,
int mouseBtn)
|
static GraphEvent |
GraphEvent.dragging(GraphModel g,
GraphPoint mousePos,
int mouseBtn,
int modifiersEx)
|
static VertexEvent |
VertexEvent.dragging(VertexModel v,
GraphPoint mousePos,
int mouseBtn,
int modifiersEx)
|
static EdgeEvent |
EdgeEvent.draggingStarted(EdgeModel e,
GraphPoint mousePos,
int mouseBtn)
|
static VertexEvent |
VertexEvent.draggingStarted(VertexModel v,
GraphPoint mousePos,
int mouseBtn,
int modifiersEx)
|
static VertexEvent |
VertexEvent.dropped(VertexModel v,
GraphPoint mousePos,
int mouseBtn,
int modifiersEx)
|
static GraphEvent |
GraphEvent.mouseClicked(GraphModel g,
GraphPoint mousePos,
int mouseBtn,
int modifiersEx)
|
static GraphEvent |
GraphEvent.mouseDraggingStarted(GraphModel g,
GraphPoint mousePos,
int mouseBtn,
int modifiersEx)
|
static GraphEvent |
GraphEvent.mouseDropped(GraphModel g,
GraphPoint mousePos,
int mouseBtn,
int modifiersEx)
|
static GraphEvent |
GraphEvent.mouseEntered(GraphModel g,
GraphPoint mousePos,
int mouseBtn,
int modifiersEx)
|
static GraphEvent |
GraphEvent.mouseExited(GraphModel g,
GraphPoint mousePos,
int mouseBtn,
int modifiersEx)
|
static GraphEvent |
GraphEvent.mouseMoved(GraphModel g,
GraphPoint mousePos,
int mouseBtn,
int modifiersEx)
|
static GraphEvent |
GraphEvent.mouseWheelMoved(GraphModel g,
GraphPoint mousePos,
int mouseWheelMoveAmount,
int modifiersEx)
|
static EdgeEvent |
EdgeEvent.released(EdgeModel e,
GraphPoint mousePos,
int mouseBtn)
|
static VertexEvent |
VertexEvent.released(VertexModel v,
GraphPoint mousePos,
int mouseBtn,
int modifiersEx)
|
void |
VertexModelListener.updateLocation(VertexModel src,
GraphPoint newLocation)
|
void |
VertexModelListener.updateSize(VertexModel src,
GraphPoint newSize)
|
Constructors in graphlab.graph.event with parameters of type GraphPoint | |
---|---|
EdgeEvent(int eventType,
EdgeModel e,
GraphPoint mousePos,
int mouseBtn,
boolean isNotified,
boolean isMouseEntered)
|
|
GraphEvent(int eventType,
GraphModel e,
GraphPoint mousePos,
int mouseBtn_or_mouseWheelMoveAmount,
boolean isNotified,
boolean isMouseEntered,
boolean isDragged,
int modifiersEx)
|
|
VertexEvent(int eventType,
VertexModel v,
GraphPoint mousePos,
int mouseBtn,
boolean isNotified,
boolean isMouseEntered,
int modifiersEx)
|
Uses of GraphPoint in graphlab.graph.graph |
---|
Fields in graphlab.graph.graph declared as GraphPoint | |
---|---|
GraphPoint |
EdgeModel.curveControlPoint
|
Methods in graphlab.graph.graph that return GraphPoint | |
---|---|
GraphPoint |
GraphPoint.add(double dx,
double dy)
adds this with dp (x=x+dx.x, y=y+dy) |
GraphPoint |
GraphPoint.fromString(java.lang.String data)
|
GraphPoint |
EdgeModel.getCurveControlPoint()
|
GraphPoint |
VertexModel.getLabelLocation()
|
GraphPoint |
EdgeModel.getLabelLocation()
|
GraphPoint |
VertexModel.getLocation()
|
GraphPoint |
VertexModel.getSize()
|
Methods in graphlab.graph.graph with parameters of type GraphPoint | |
---|---|
void |
GraphPoint.add(GraphPoint dp)
adds this with dp (x=x+dp.x, y=y+dp.y) |
double |
GraphPoint.distance(GraphPoint pt)
|
static boolean |
GraphControl.isPointOnVertex(GraphModel g,
VertexModel v,
GraphPoint p)
|
Pair |
GraphControlGrid.mindiste(GraphModel g,
GraphPoint p)
|
static Pair<EdgeModel,java.lang.Double> |
GraphControl.mindiste(GraphModel g,
GraphPoint p)
|
static Pair<VertexModel,java.lang.Double> |
GraphControl.mindistv(GraphModel g,
GraphPoint p)
|
Pair<VertexModel,java.lang.Double> |
GraphControlGrid.mindistv(GraphPoint p)
|
void |
EdgeModel.setCurveControlPoint(GraphPoint controlPoint)
|
void |
VertexModel.setLabelLocation(GraphPoint graphPoint)
|
void |
EdgeModel.setLabelLocation(GraphPoint graphPoint)
|
void |
VertexModel.setLocation(GraphPoint p)
|
void |
VertexModel.setSize(GraphPoint size)
|
void |
FastRenderer.updateLocation(VertexModel src,
GraphPoint newLocation)
|
void |
FastRenderer.updateSize(VertexModel src,
GraphPoint newSize)
|
Constructors in graphlab.graph.graph with parameters of type GraphPoint | |
---|---|
GraphPoint(GraphPoint p)
|
Uses of GraphPoint in graphlab.graph.old |
---|
Methods in graphlab.graph.old with parameters of type GraphPoint | |
---|---|
void |
LayeredRenderer.updateLocation(VertexModel src,
GraphPoint newLocation)
|
void |
LayeredRenderer.updateSize(VertexModel src,
GraphPoint newSize)
|
Uses of GraphPoint in graphlab.plugins.graphgenerator.generators |
---|
Methods in graphlab.plugins.graphgenerator.generators that return GraphPoint | |
---|---|
GraphPoint[] |
PrismGraph.getVertexPositions()
|
Uses of GraphPoint in graphlab.plugins.main.core |
---|
Methods in graphlab.plugins.main.core that return GraphPoint | |
---|---|
static GraphPoint |
AlgorithmUtils.getCenter(java.util.Collection<VertexModel> V)
|
static GraphPoint |
AlgorithmUtils.getMiddlePoint(GraphPoint p1,
GraphPoint p2)
|
static GraphPoint |
AlgorithmUtils.normalize(GraphPoint vector)
|
Methods in graphlab.plugins.main.core with parameters of type GraphPoint | |
---|---|
static double |
AlgorithmUtils.getAngle(GraphPoint p1,
GraphPoint p2)
|
static double |
AlgorithmUtils.getAngle(GraphPoint rootp,
GraphPoint v1p,
GraphPoint v2p)
returns the angle between 3 points |
static double |
AlgorithmUtils.getDistance(GraphPoint p1,
GraphPoint p2)
returns the distance between two points |
static GraphPoint |
AlgorithmUtils.getMiddlePoint(GraphPoint p1,
GraphPoint p2)
|
static GraphPoint |
AlgorithmUtils.normalize(GraphPoint vector)
|
static void |
AlgorithmUtils.setLocation(VertexModel v,
GraphPoint center,
double radius,
double ang)
locations v in a r-teta cordination |
Uses of GraphPoint in graphlab.plugins.main.core.actions |
---|
Methods in graphlab.plugins.main.core.actions with parameters of type GraphPoint | |
---|---|
static boolean |
VertexTransformer.isPositionOnResizeBoxes(GraphPoint mousPos,
BlackBoard b)
|
Uses of GraphPoint in graphlab.plugins.main.core.actions.edge |
---|
Methods in graphlab.plugins.main.core.actions.edge with parameters of type GraphPoint | |
---|---|
protected void |
DragEdge.addUndoData(EdgeModel e,
GraphPoint oldPos,
GraphPoint newPos)
|
Uses of GraphPoint in graphlab.plugins.main.core.actions.vertex |
---|
Fields in graphlab.plugins.main.core.actions.vertex declared as GraphPoint | |
---|---|
GraphPoint |
VertexMoveData.newPosition
|
Methods in graphlab.plugins.main.core.actions.vertex with parameters of type GraphPoint | |
---|---|
static VertexModel |
AddVertex.doJob(GraphModel g,
GraphPoint position)
adds a vertex to the given location of graph |
Uses of GraphPoint in graphlab.plugins.main.select |
---|
Methods in graphlab.plugins.main.select with parameters of type GraphPoint | |
---|---|
protected void |
ScaleOutSelection.setNewLocation(VertexModel v,
GraphPoint loc,
double x,
double y)
|
protected void |
ScaleInSelection.setNewLocation(VertexModel v,
GraphPoint loc,
double x,
double y)
|
Uses of GraphPoint in graphlab.samples.extensions |
---|
Methods in graphlab.samples.extensions that return GraphPoint | |
---|---|
GraphPoint[] |
BinaryTreeGenerator.getVertexPositions()
|
|
GraphLab Project | |||||||||
PREV NEXT | FRAMES NO FRAMES |