A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
Geometry — Class in package org.un.flex.utils
This is a class to provide some static functions to help with angles and geometry.
getAbsCartCoordinates(n:org.un.flex.graphLayout.data:INode) — Method in class org.un.flex.graphLayout.layout.BaseLayoutDrawing
Access the absolute cartesian coordinates of the given node.
getAncestor(n:org.un.flex.graphLayout.data:INode) — Method in class org.un.flex.graphLayout.layout.HierarchicalLayoutDrawing
Get the ancestor node for a node, default is the node itself.
getAngle(x1, y1, x2, y2, atX, atY) — Static method in class org.un.flex.utils.GraphicUtils
Returns the positive angle between two lines OP and OQ at point O, where:
P = [x1, y1]
Q = [x2, y2]
O = [atX, atY]
getAngle(p:org.un.flex.utils.geom:IPoint, z1:org.un.flex.utils.geom:IPoint, z2:org.un.flex.utils.geom:IPoint) — Method in class org.un.flex.utils.geom.BaseModel
Returns the angle between the line segments starting at p and ending in z1 and z2 respectively.
If the model is orientated, the angle may have a sign, but this is not required.
getAngle(p:org.un.flex.utils.geom:IPoint, z1:org.un.flex.utils.geom:IPoint, z2:org.un.flex.utils.geom:IPoint) — Method in interface org.un.flex.utils.geom.IModel
Returns the angle between the line segments starting at p and ending in z1 and z2 respectively.
If the model is orientated, the angle may have a sign, but this is not required.
getAngle(p:org.un.flex.utils.geom:IPoint, z1:org.un.flex.utils.geom:IPoint, z2:org.un.flex.utils.geom:IPoint) — Method in class org.un.flex.utils.geom.PoincareModel
Returns the angle between the line segments starting at p and ending in z1 and z2 respectively.
If the model is orientated, the angle may have a sign, but this is not required.
getAngleOffset(n:org.un.flex.graphLayout.data:INode) — Method in class org.un.flex.graphLayout.layout.ParentCenteredDrawingModel
Access to the local zero angle offset of each node.
getAngleOffset(n:org.un.flex.graphLayout.data:INode) — Method in class org.un.flex.graphLayout.layout.PhylloTreeDrawingModel
Access to the local zero angle offset of each node.
getAngularWidth(n:org.un.flex.graphLayout.data:INode) — Method in class org.un.flex.graphLayout.layout.ConcentricRadialLayoutDrawing
Allows retrieval of the "angular width" value of a given node, required by the layouter.
getCenter(c) — Static method in class org.un.flex.utils.GraphicUtils
Function that returns the center point of a display object
getCenter(x1, y1, x2, y2, d) — Method in interface org.un.flex.utils.geom.IProjector
Returns the center of the circle in Euclidean space, which joins the two points P (x1, y1) and Q (x2, y2)
getCenter(x1, y1, x2, y2, d) — Method in class org.un.flex.utils.geom.PoincareProjector
Returns the center of the circle in Euclidean space, which joins the two points P (x1, y1) and Q (x2, y2)
getChange(n:org.un.flex.graphLayout.data:INode) — Method in class org.un.flex.graphLayout.layout.HierarchicalLayoutDrawing
Get the change value for a node, default is 0.
getChildIndex(n:org.un.flex.graphLayout.data:INode) — Method in class org.un.flex.graphLayout.data.GTree
Each node is also the i'th child of it's parent.
getChildIndex(n:org.un.flex.graphLayout.data:INode) — Method in interface org.un.flex.graphLayout.data.IGTree
Each node is also the i'th child of it's parent.
getChildren(n:org.un.flex.graphLayout.data:INode) — Method in class org.un.flex.graphLayout.data.GTree
An array that contains all children of this node in the tree in the order of each child's child index.
getChildren(n:org.un.flex.graphLayout.data:INode) — Method in interface org.un.flex.graphLayout.data.IGTree
An array that contains all children of this node in the tree in the order of each child's child index.
getDefaultVector() — Method in class org.un.flex.utils.geom.BaseModel
Returns a "default" vector at the origin.
In most models, there is no special vector, but it is very convenient to have such a default vector to start with.
This vector is always located at the origin, is always normalized (i.e.
getDefaultVector() — Method in interface org.un.flex.utils.geom.IModel
Returns a "default" vector at the origin.
In most models, there is no special vector, but it is very convenient to have such a default vector to start with.
This vector is always located at the origin, is always normalized (i.e.
getDefaultVector() — Method in class org.un.flex.utils.geom.PoincareModel
Returns a "default" vector at the origin.
In most models, there is no special vector, but it is very convenient to have such a default vector to start with.
This vector is always located at the origin, is always normalized (i.e.
getDepthOffset(n:org.un.flex.graphLayout.data:INode) — Method in class org.un.flex.graphLayout.layout.HierarchicalLayoutDrawing
Get the current depth offset of a node.
getDistance(n:org.un.flex.graphLayout.data:INode) — Method in class org.un.flex.graphLayout.data.GTree
Get the distance of a particular node from the root.
getDistance(n:org.un.flex.graphLayout.data:INode) — Method in interface org.un.flex.graphLayout.data.IGTree
Get the distance of a particular node from the root.
getDistance(p:org.un.flex.utils.geom:IPoint, z1:org.un.flex.utils.geom:IPoint, z2:org.un.flex.utils.geom:IPoint, cutoff1, cutoff2) — Method in class org.un.flex.utils.geom.BaseModel
Returns the distance of p to the line, ray or line segment from z1 to z2.
The parameters cutoff1 and cutoff2 define whether the whole line should be considered or only parts.
getDistance(p:org.un.flex.utils.geom:IPoint, z1:org.un.flex.utils.geom:IPoint, z2:org.un.flex.utils.geom:IPoint, cutoff1, cutoff2) — Method in interface org.un.flex.utils.geom.IModel
Returns the distance of p to the line, ray or line segment from z1 to z2.
The parameters cutoff1 and cutoff2 define whether the whole line should be considered or only parts.
getDistance(p:org.un.flex.utils.geom:IPoint, z1:org.un.flex.utils.geom:IPoint, z2:org.un.flex.utils.geom:IPoint, cutoff1, cutoff2) — Method in class org.un.flex.utils.geom.PoincareModel
Returns the distance of p to the line, ray or line segment from z1 to z2.
The parameters cutoff1 and cutoff2 define whether the whole line should be considered or only parts.
getEdge(n1:org.un.flex.graphLayout.data:INode, n2:org.un.flex.graphLayout.data:INode) — Method in class org.un.flex.graphLayout.data.Graph
Find an edge between two nodes.
getEdge(n1:org.un.flex.graphLayout.data:INode, n2:org.un.flex.graphLayout.data:INode) — Method in interface org.un.flex.graphLayout.data.IGraph
Find an edge between two nodes.
getIdentity() — Method in class org.un.flex.utils.geom.BaseModel
Returns the identity transformation.
getIdentity() — Method in interface org.un.flex.utils.geom.IModel
Returns the identity transformation.
getIdentity() — Method in class org.un.flex.utils.geom.PoincareModel
Returns the identity transformation.
getInverse() — Method in interface org.un.flex.utils.geom.IIsometry
Returns a new instance of this isometry representing its inverse.
getInverse() — Method in class org.un.flex.utils.geom.PoincareIsometry
Returns a new instance of this isometry representing its inverse.
getInverseViewMatrix() — Method in interface org.un.flex.utils.geom.IProjector
Returns the inverse of the view matrix.
getInverseViewMatrix() — Method in class org.un.flex.utils.geom.PoincareProjector
Returns the inverse of the view matrix.
getIthChildPerNode(n:org.un.flex.graphLayout.data:INode, i) — Method in class org.un.flex.graphLayout.data.GTree
This method returns the node, which is the i'th child of a given (parent) node.
getIthChildPerNode(n:org.un.flex.graphLayout.data:INode, i) — Method in interface org.un.flex.graphLayout.data.IGTree
This method returns the node, which is the i'th child of a given (parent) node.
getLimitedNodes(limit) — Method in class org.un.flex.graphLayout.data.GTree
This method returns a map (Object) containing only the nodes which are within a certain distance of the root node.
getLimitedNodes(limit) — Method in interface org.un.flex.graphLayout.data.IGTree
This method returns a map (Object) containing only the nodes which are within a certain distance of the root node.
getLineSegments(mp1:org.un.flex.utils.geom:IPoint, mp2:org.un.flex.utils.geom:IPoint, d) — Method in class org.un.flex.utils.geom.PoincareProjector
Returns the arc between two model points mp1 and mp2 as piecewise linear segments.
getLocalPolarPhi(n:org.un.flex.graphLayout.data:INode) — Method in class org.un.flex.graphLayout.layout.ParentCenteredDrawingModel
Access to the local polar angle (without zero angle offset or local origin applied).
getLocalPolarPhi(n:org.un.flex.graphLayout.data:INode) — Method in class org.un.flex.graphLayout.layout.PhylloTreeDrawingModel
Access to the local polar angle (without zero angle offset or local origin applied).
getLocalPolarR(n:org.un.flex.graphLayout.data:INode) — Method in class org.un.flex.graphLayout.layout.ParentCenteredDrawingModel
Access to the local polar radius (without zero angle offset or local origin applied).
getLocalPolarR(n:org.un.flex.graphLayout.data:INode) — Method in class org.un.flex.graphLayout.layout.PhylloTreeDrawingModel
Access to the local polar radius (without zero angle offset or local origin applied).
getModifier(n:org.un.flex.graphLayout.data:INode) — Method in class org.un.flex.graphLayout.layout.HierarchicalLayoutDrawing
Get the modifier value for a node, default is 0.
getNoChildren(n:org.un.flex.graphLayout.data:INode) — Method in class org.un.flex.graphLayout.data.GTree
The number of children of any node in the tree.
getNoChildren(n:org.un.flex.graphLayout.data:INode) — Method in interface org.un.flex.graphLayout.data.IGTree
The number of children of any node in the tree.
getNodeOrigin(n:org.un.flex.graphLayout.data:INode) — Method in class org.un.flex.graphLayout.layout.ParentCenteredDrawingModel
Access to the local origin of each node
getNoSiblings(n:org.un.flex.graphLayout.data:INode) — Method in class org.un.flex.graphLayout.data.GTree
Returns the number of siblings of a node, including the node itself so basically this is the number of the children of the node's parents.
getNoSiblings(n:org.un.flex.graphLayout.data:INode) — Method in interface org.un.flex.graphLayout.data.IGTree
Returns the number of siblings of a node, including the node itself so basically this is the number of the children of the node's parents.
getNumberNodesWithDistance(d) — Method in class org.un.flex.graphLayout.data.GTree
This returns the number of nodes that have exactly the specified distance.
getNumberNodesWithDistance(d) — Method in interface org.un.flex.graphLayout.data.IGTree
This returns the number of nodes that have exactly the specified distance.
getOrigin(n:org.un.flex.graphLayout.data:INode) — Method in class org.un.flex.graphLayout.layout.PhylloTreeDrawingModel
Access to the local origin of each node
getOrigin() — Method in class org.un.flex.utils.geom.BaseModel
FOLLOWING METHODS MUST BE IMPLEMENTED BY SUBCLASSES
getOrigin() — Method in interface org.un.flex.utils.geom.IModel
Returns the origin of the model.
A model doesn't present a riemannian manifold, but the pair (M, p) of a riemannian manifold and a fixed point, the origin.
For a vector space, the origin is naturally 0.
getOrigin() — Method in class org.un.flex.utils.geom.PoincareModel
FOLLOWING METHODS MUST BE IMPLEMENTED BY SUBCLASSES
getPolarPhi(n:org.un.flex.graphLayout.data:INode) — Method in class org.un.flex.graphLayout.layout.BaseLayoutDrawing
access the polar angle part of the target coordinates of the given node.
getPolarR(n:org.un.flex.graphLayout.data:INode) — Method in class org.un.flex.graphLayout.layout.BaseLayoutDrawing
access the polar radius part of the target coordinates of the given node.
getPrelim(n:org.un.flex.graphLayout.data:INode) — Method in class org.un.flex.graphLayout.layout.HierarchicalLayoutDrawing
Get the preliminary x value for a node.
getProjection(p:org.un.flex.utils.geom:IPoint, z1:org.un.flex.utils.geom:IPoint, z2:org.un.flex.utils.geom:IPoint, cutoff1, cutoff2) — Method in class org.un.flex.utils.geom.BaseModel
Returns the projection of point p on the line defined by the points z1 and z2.
getProjection(p:org.un.flex.utils.geom:IPoint, z1:org.un.flex.utils.geom:IPoint, z2:org.un.flex.utils.geom:IPoint, cutoff1, cutoff2) — Method in interface org.un.flex.utils.geom.IModel
Returns the projection of point p on the line defined by the points z1 and z2.
getProjection(p:org.un.flex.utils.geom:IPoint, z1:org.un.flex.utils.geom:IPoint, z2:org.un.flex.utils.geom:IPoint, cutoff1, cutoff2) — Method in class org.un.flex.utils.geom.PoincareModel
Returns the projection of point p on the line defined by the points z1 and z2.
getRad() — Method in class org.un.flex.utils.geom.ComplexNumber
Returns the radiant of a complex number.
getReciprocal() — Method in class org.un.flex.utils.geom.ComplexNumber
Returns the reciprocal of this.
getRelCartCoordinates(n:org.un.flex.graphLayout.data:INode) — Method in class org.un.flex.graphLayout.layout.BaseLayoutDrawing
Access the cartesian coordinates of the given node.
getRotation(angleDelta, centerX, centerY, startX, startY) — Static method in class org.un.flex.utils.GraphicUtils
Returns the endpoint Q of a line OP that is rotated clock-wise about point O, where:
O = [centerX, centerY]
P = [startX, startY]
Q = [endX, endY]
getRotation(alpha) — Method in class org.un.flex.utils.geom.BaseModel
Returns a rotation of alpha at the origin.
getRotation(t) — Static method in class org.un.flex.utils.geom.ComplexNumber
Returns exp(it).
getRotation(alpha) — Method in interface org.un.flex.utils.geom.IModel
Returns a rotation of alpha at the origin.
getRotation(alpha) — Method in class org.un.flex.utils.geom.PoincareModel
Returns a rotation of alpha at the origin.
getRotationP(mp:org.un.flex.utils.geom:IPoint, alpha) — Method in class org.un.flex.utils.geom.BaseModel
Returns a rotation of alpha at the point p.
getRotationP(p:org.un.flex.utils.geom:IPoint, alpha) — Method in interface org.un.flex.utils.geom.IModel
Returns a rotation of alpha at the point p.
getScale(p:org.un.flex.utils.geom:IPoint) — Method in interface org.un.flex.utils.geom.IProjector
Returns the scaling factors at a point in the non-euclidean space.
getScale(mp:org.un.flex.utils.geom:IPoint) — Method in class org.un.flex.utils.geom.PoincareProjector
Returns the scaling factors at a point in the non-euclidean space.
getShift(n:org.un.flex.graphLayout.data:INode) — Method in class org.un.flex.graphLayout.layout.HierarchicalLayoutDrawing
Get the shift value for a node, default is 0.
getThread(n:org.un.flex.graphLayout.data:INode) — Method in class org.un.flex.graphLayout.layout.HierarchicalLayoutDrawing
Get the thread pointer for a node, default is null.
getTranslationIP(isom:org.un.flex.utils.geom:IIsometry, mp1:org.un.flex.utils.geom:IPoint) — Method in class org.un.flex.utils.geom.BaseModel
Calculates the translation (isometry) to a given point p.
getTranslationIP(isom:org.un.flex.utils.geom:IIsometry, p:org.un.flex.utils.geom:IPoint) — Method in interface org.un.flex.utils.geom.IModel
Calculates the translation (isometry) to a given point p.
getTranslationIPP(isom:org.un.flex.utils.geom:IIsometry, mp1:org.un.flex.utils.geom:IPoint, mp2:org.un.flex.utils.geom:IPoint) — Method in class org.un.flex.utils.geom.BaseModel
Calculates the translation (isometry) from a given point p2 to a destination point p1.
getTranslationIPP(isom:org.un.flex.utils.geom:IIsometry, p1:org.un.flex.utils.geom:IPoint, p2:org.un.flex.utils.geom:IPoint) — Method in interface org.un.flex.utils.geom.IModel
Calculates the translation (isometry) from a given point p2 to a destination point p1.
getTranslationIPPR(isom:org.un.flex.utils.geom:IIsometry, mp1:org.un.flex.utils.geom:IPoint, mp2:org.un.flex.utils.geom:IPoint, t) — Method in class org.un.flex.utils.geom.BaseModel
Calculate the translation of a given point to a destination point in a given number of steps
getTranslationIPPR(isom:org.un.flex.utils.geom:IIsometry, p1:org.un.flex.utils.geom:IPoint, p2:org.un.flex.utils.geom:IPoint, r) — Method in interface org.un.flex.utils.geom.IModel
Calculate the translation of a given point to a destination point in a given number of steps
getTranslationIPR(isom:org.un.flex.utils.geom:IIsometry, mp1:org.un.flex.utils.geom:IPoint, r) — Method in class org.un.flex.utils.geom.BaseModel
Calculates the r-th root (isometry) of the translation to a given point.
getTranslationIPR(isom:org.un.flex.utils.geom:IIsometry, p:org.un.flex.utils.geom:IPoint, r) — Method in interface org.un.flex.utils.geom.IModel
Calculates the r-th root (isometry) of the translation to a given point.
getTranslationIPR(isom:org.un.flex.utils.geom:IIsometry, mp:org.un.flex.utils.geom:IPoint, t) — Method in class org.un.flex.utils.geom.PoincareModel
Calculates the r-th root (isometry) of the translation to a given point.
getTranslationIVR(isom:org.un.flex.utils.geom:IIsometry, vector:org.un.flex.utils.geom:IVector, t) — Method in class org.un.flex.utils.geom.BaseModel
Calculates the translation for the base of the given vector in a specific direction
getTranslationIVR(isom:org.un.flex.utils.geom:IIsometry, vector:org.un.flex.utils.geom:IVector, r) — Method in interface org.un.flex.utils.geom.IModel
Calculates the translation for the base of the given vector in a specific direction
getTranslationP(mp1:org.un.flex.utils.geom:IPoint) — Method in class org.un.flex.utils.geom.BaseModel
Returns the translation to a given point z.
getTranslationP(z:org.un.flex.utils.geom:IPoint) — Method in interface org.un.flex.utils.geom.IModel
Returns the translation to a given point z.
getTranslationPP(mp1:org.un.flex.utils.geom:IPoint, mp2:org.un.flex.utils.geom:IPoint) — Method in class org.un.flex.utils.geom.BaseModel
Translate a point to another point
getTranslationPP(z1:org.un.flex.utils.geom:IPoint, z2:org.un.flex.utils.geom:IPoint) — Method in interface org.un.flex.utils.geom.IModel
Translate a point to another point
getTranslationPPR(mp1:org.un.flex.utils.geom:IPoint, mp2:org.un.flex.utils.geom:IPoint, t) — Method in class org.un.flex.utils.geom.BaseModel
Translate a given point to a destination point in a given number of steps
getTranslationPPR(z1:org.un.flex.utils.geom:IPoint, z2:org.un.flex.utils.geom:IPoint, r) — Method in interface org.un.flex.utils.geom.IModel
Translate a given point to a destination point in a given number of steps
getTranslationPR(mp:org.un.flex.utils.geom:IPoint, t) — Method in class org.un.flex.utils.geom.BaseModel
Returns the r-th root (isometry) of the translation to a given point.
getTranslationPR(z:org.un.flex.utils.geom:IPoint, r) — Method in interface org.un.flex.utils.geom.IModel
Returns the r-th root (isometry) of the translation to a given point.
getTranslationVR(vector:org.un.flex.utils.geom:IVector, t) — Method in class org.un.flex.utils.geom.BaseModel
Returns the translation for the base of the given vector in a specific direction
getTranslationVR(vector:org.un.flex.utils.geom:IVector, r) — Method in interface org.un.flex.utils.geom.IModel
Returns the translation for the base of the given vector in a specific direction
getTree(n:org.un.flex.graphLayout.data:INode, restr, nocache) — Method in class org.un.flex.graphLayout.data.Graph
returns the current BFS tree of the graph, rooted in the given node, optionally the tree is restricted to only contain currently visible nodes.
getTree(n:org.un.flex.graphLayout.data:INode, restr, nocache) — Method in interface org.un.flex.graphLayout.data.IGraph
returns the current BFS tree of the graph, rooted in the given node, optionally the tree is restricted to only contain currently visible nodes.
getViewMatrix() — Method in interface org.un.flex.utils.geom.IProjector
Returns the view matrix.
getViewMatrix() — Method in class org.un.flex.utils.geom.PoincareProjector
Returns the view matrix.
_graph — Property in class org.un.flex.graphLayout.layout.BaseLayouter
All layouters need access to the Graph.
graph — Property in class org.un.flex.graphLayout.layout.BaseLayouter
Assign a Graph datastructure object to the layouter, every layouter will need one to work and some may allow to set it in their constructor
graph — Property in interface org.un.flex.graphLayout.layout.ILayoutAlgorithm
Assign a Graph datastructure object to the layouter, every layouter will need one to work and some may allow to set it in their constructor
graph — Property in interface org.un.flex.graphLayout.visual.IVisualGraph
Access to the underlying Graph datastructure object.
graph — Property in class org.un.flex.graphLayout.visual.VisualGraph
This property allows access and setting of the underlying graph object.
Graph — Class in package org.un.flex.graphLayout.data
Graph implements a graph datastructure G(V,E) with vertices V and edges E, except that we call the vertices nodes, which is here more in line with similar implementations.
Graph(id, directional, xmlsource, xmlnames) — Constructor in class org.un.flex.graphLayout.data.Graph
Constructor method that creates the graph and can initialise it directly from an XML object, if one is specified.
GraphicUtils — Class in package org.un.flex.utils
This is a class to provide some static functions to help with drawing and geometry.
GTree — Class in package org.un.flex.graphLayout.data
This class represents a spanning tree, rooted in the given root node of the connected component of the associated graph.
GTree(root:org.un.flex.graphLayout.data:INode, graph:org.un.flex.graphLayout.data:IGraph, restrict) — Constructor in class org.un.flex.graphLayout.data.GTree
Constructor to create a new GTree object, the tree will not immediately be initialised, but this will happen as soon as any attributes or methods are accessed, that require the tree to be initialised (late initialisation).
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z