Uses of Class
de.cau.cs.kieler.core.math.KVector

Packages that use KVector
de.cau.cs.kieler.core.math Mathematics classes and functions. 
de.cau.cs.kieler.kiml.gmf KIML bridge implementation for GMF, the Graphical Modeling Framework. 
de.cau.cs.kieler.kiml.klayoutdata Base package for the KLayoutData structure, which is an extension of KGraph to store layout data in a graph model. 
de.cau.cs.kieler.kiml.klayoutdata.impl Internal implementation of the layout data extension. 
de.cau.cs.kieler.kiml.klayoutdata.util Utility classes for the layout data extension. 
de.cau.cs.kieler.kiml.options Definition of layout options for automatic layout. 
de.cau.cs.kieler.kiml.util Utility classes for automatic layout using KIML. 
de.cau.cs.kieler.klay.force.graph Basic structures for the force layouter. 
de.cau.cs.kieler.klay.force.model Force model of the KLay Force layout algorithm. 
de.cau.cs.kieler.klay.force.properties This package contains classes defining layout properties for KLay Force. 
de.cau.cs.kieler.klay.layered Base package of the layered layouter. 
de.cau.cs.kieler.klay.layered.graph Basic structures for the layered layouter. 
de.cau.cs.kieler.klay.layered.p5edges Phase 5 - edge routing and horizontal node placement. 
de.cau.cs.kieler.klay.layered.properties This package contains classes defining layout properties for KLay Layered. 
 

Uses of KVector in de.cau.cs.kieler.core.math
 

Fields in de.cau.cs.kieler.core.math declared as KVector
 KVector BezierSpline.BezierCurve.end
          end point.
 KVector BezierSpline.BezierCurve.fstControlPnt
          first control point.
 KVector BezierSpline.BezierCurve.sndControlPnt
          snd control point.
 KVector BezierSpline.BezierCurve.start
          start point.
 

Methods in de.cau.cs.kieler.core.math that return KVector
 KVector KVector.add(KVector v)
          Vector addition.
static KVector KVector.add(KVector v1, KVector v2)
          Returns the sum of two given vectors as a new vector instance.
 KVector KVector.applyBounds(double lowx, double lowy, double highx, double highy)
          Apply the given bounds to this vector.
static KVector[] KielerMath.calcBezierPoints(int resultSize, KVector... controlPoints)
          Calculate a number of points on the Bezier curve defined by the given control points.
static KVector[] KielerMath.calcBezierPoints(KVector... controlPoints)
          Calculate a number of points on the Bezier curve defined by the given control points.
static KVector[] KielerMath.calcBezierPoints(List<KVector> controlPoints, int resultSize)
          Calculates a number of points on the Bezier curve defined by the given control points.
 KVector KVector.clone()
          returns an exact copy of this vector.
 KVector KVector.differenceCreate(KVector v)
          Create a difference from this vector and another vector.
 KVector[] BezierSpline.getBasePoints()
          returns just the base points, including start and end point.
 KVector BezierSpline.getEndPoint()
          returns the last point of the last piece of the spline.
 KVector[] BezierSpline.getInnerPoints()
          returns the inner points of this piecewise bezier spline.
 KVector KVectorChain.getPointOnLine(double dist)
          Calculate a point on this vector chain with given distance.
 KVector[] BezierSpline.getPolylineApprx(int accuracy)
          Returns a sequence of points, representing this spline as an approximated polyline.
 KVector BezierSpline.getStartPoint()
          returns the first point of the first piece of the spline.
 KVector KVector.negate()
          Negate the vector.
 KVector KVector.normalize()
          Normalize the vector.
 KVector KVector.normalizedCreate()
          Create a normalized version of this vector.
 KVector KVector.reset()
          Set vector to (0,0).
 KVector KVector.scale(double scale)
          Scale the vector.
 KVector KVector.scale(double scalex, double scaley)
          Scale the vector with different values for X and Y coordinate.
 KVector KVector.scaledCreate(double lambda)
          Create a scaled version of this vector.
 KVector KVector.scaleToLength(double length)
          scales this vector to the passed length.
 KVector KVector.sub(KVector v)
          Vector subtraction.
static KVector KVector.sub(KVector v1, KVector v2)
          Returns the subtraction of the two given vectors as a new vector instance.
 KVector KVector.sumCreate(KVector v)
          Create a sum from this vector and another vector.
 KVector KVector.translate(double dx, double dy)
          Translate the vector.
 

Methods in de.cau.cs.kieler.core.math that return types with arguments of type KVector
 List<KVector> BezierSpline.BezierCurve.asVectorList()
          Returns this segment of the bezierspline as a list of Points.
 

Methods in de.cau.cs.kieler.core.math with parameters of type KVector
 KVector KVector.add(KVector v)
          Vector addition.
static KVector KVector.add(KVector v1, KVector v2)
          Returns the sum of two given vectors as a new vector instance.
 void KVectorChain.addAll(KVector[] vectors)
          Add all the vectors in the given array to the end of this vector chain.
 void BezierSpline.addCurve(KVector startPnt, KVector fstCtrPnt, KVector sndCtrPnt, KVector endPnt)
          Adds a new curve to this piecewise bezier spline.
static KVector[] KielerMath.calcBezierPoints(int resultSize, KVector... controlPoints)
          Calculate a number of points on the Bezier curve defined by the given control points.
static KVector[] KielerMath.calcBezierPoints(KVector... controlPoints)
          Calculate a number of points on the Bezier curve defined by the given control points.
 BezierSpline CubicSplineInterpolator.calculateClosedBezierSpline(KVector[] points)
          Calculates a closed piecewise bezier spline where the first point is start and end.
 KVector KVector.differenceCreate(KVector v)
          Create a difference from this vector and another vector.
 double KVector.distance(KVector v2)
          Returns the distance between two vectors.
static double KVector.distance(KVector v1, KVector v2)
          Returns the distance between two vectors.
static double KielerMath.distanceFromSpline(KVector start, KVector c1, KVector c2, KVector end, KVector needle)
          Calculate the distance from a cubic spline curve to the point needle.
static int KielerMath.getApproximationCount(KVector... controlPoints)
          Calculate a suggestion for the number of approximation points of the Bezier curve that is defined by the given control points.
 BezierSpline CubicSplineInterpolator.interpolatePoints(KVector[] points)
          returns a piecewise bezierspline.
 BezierSpline ISplineInterpolator.interpolatePoints(KVector[] points)
          returns a piecewise bezierspline.
 BezierSpline CubicSplineInterpolator.interpolatePoints(KVector[] points, KVector startVec, KVector endVec, boolean tangendScale)
          returns a piecewise bezierspline.
 BezierSpline CubicSplineInterpolator.interpolatePoints(KVector[] points, KVector startVec, KVector endVec, boolean tangendScale)
          returns a piecewise bezierspline.
 BezierSpline ISplineInterpolator.interpolatePoints(KVector[] points, KVector startVec, KVector endVec, boolean tangentScale)
          returns a piecewise bezierspline.
 BezierSpline ISplineInterpolator.interpolatePoints(KVector[] points, KVector startVec, KVector endVec, boolean tangentScale)
          returns a piecewise bezierspline.
 BezierSpline CubicSplineInterpolator.interpolatePoints(LinkedList<KVector> points, KVector startVec, KVector endVec, boolean tangendScale)
          returns a piecewise bezierspline.
 BezierSpline ISplineInterpolator.interpolatePoints(LinkedList<KVector> points, KVector startVec, KVector endVec, boolean tangentScale)
          returns a piecewise bezierspline.
 double KVector.productDot(KVector v2)
          Returns the dot product of the two given vectors.
static double KVector.productDot(KVector v1, KVector v2)
          Returns the dot product of the two given vectors.
 KVector KVector.sub(KVector v)
          Vector subtraction.
static KVector KVector.sub(KVector v1, KVector v2)
          Returns the subtraction of the two given vectors as a new vector instance.
 KVector KVector.sumCreate(KVector v)
          Create a sum from this vector and another vector.
 void KVectorChain.translate(KVector offset)
          Iterates through all vectors and adds the offset to them.
 

Method parameters in de.cau.cs.kieler.core.math with type arguments of type KVector
static KVector[] KielerMath.calcBezierPoints(List<KVector> controlPoints, int resultSize)
          Calculates a number of points on the Bezier curve defined by the given control points.
 BezierSpline CubicSplineInterpolator.interpolatePoints(LinkedList<KVector> points)
          returns a piecewise bezierspline.
 BezierSpline ISplineInterpolator.interpolatePoints(LinkedList<KVector> points)
          returns a piecewise bezierspline.
 BezierSpline CubicSplineInterpolator.interpolatePoints(LinkedList<KVector> points, KVector startVec, KVector endVec, boolean tangendScale)
          returns a piecewise bezierspline.
 BezierSpline ISplineInterpolator.interpolatePoints(LinkedList<KVector> points, KVector startVec, KVector endVec, boolean tangentScale)
          returns a piecewise bezierspline.
 

Constructors in de.cau.cs.kieler.core.math with parameters of type KVector
BezierSpline.BezierCurve(KVector startPnt, KVector fstCtrPnt, KVector sndCtrPnt, KVector endPnt)
          .
KVector(KVector v)
          Creates an exact copy of a given vector v.
KVectorChain(KVector[] vectors)
          Creates a vector chain from a given vector array.
 

Constructor parameters in de.cau.cs.kieler.core.math with type arguments of type KVector
KVectorChain(Collection<KVector> collection)
          Creates a vector chain from a given collection of vectors.
 

Uses of KVector in de.cau.cs.kieler.kiml.gmf
 

Methods in de.cau.cs.kieler.kiml.gmf with parameters of type KVector
protected  void GmfDiagramLayoutManager.processEdgeLabels(LayoutMapping<org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart> mapping, org.eclipse.gmf.runtime.diagram.ui.editparts.ConnectionEditPart connection, KEdge edge, EdgeLabelPlacement placement, KVector offset)
          Process the labels of an edge.
protected  void GmfDiagramLayoutManager.setEdgeLayout(KEdgeLayout edgeLayout, org.eclipse.gmf.runtime.diagram.ui.editparts.ConnectionEditPart connection, KVector offset)
          Stores the layout information of the given connection edit part into an edge layout.
 

Uses of KVector in de.cau.cs.kieler.kiml.klayoutdata
 

Methods in de.cau.cs.kieler.kiml.klayoutdata that return KVector
 KVector KPoint.createVector()
          Create a vector from this point.
 KVector KShapeLayout.createVector()
          Create a vector from the position of this shape layout.
 

Methods in de.cau.cs.kieler.kiml.klayoutdata with parameters of type KVector
 void KPoint.applyVector(KVector pos)
          Set the position of this point using a vector.
 void KShapeLayout.applyVector(KVector pos)
          Set the position of this shape layout by applying the given vector.
 

Uses of KVector in de.cau.cs.kieler.kiml.klayoutdata.impl
 

Methods in de.cau.cs.kieler.kiml.klayoutdata.impl that return KVector
 KVector KPointImpl.createVector()
          Create a vector from this point.
 KVector KShapeLayoutImpl.createVector()
          Create a vector from the position of this shape layout.
 

Methods in de.cau.cs.kieler.kiml.klayoutdata.impl with parameters of type KVector
 void KPointImpl.applyVector(KVector pos)
          Set the position of this point using a vector.
 void KShapeLayoutImpl.applyVector(KVector pos)
          Set the position of this shape layout by applying the given vector.
 

Uses of KVector in de.cau.cs.kieler.kiml.klayoutdata.util
 

Methods in de.cau.cs.kieler.kiml.klayoutdata.util with parameters of type KVector
 T KLayoutDataSwitch.caseKVector(KVector object)
          Returns the result of interpreting the object as an instance of 'KVector'.
 

Uses of KVector in de.cau.cs.kieler.kiml.options
 

Fields in de.cau.cs.kieler.kiml.options with type parameters of type KVector
static IProperty<KVector> LayoutOptions.POSITION
          The position of a node, port, or label.
 

Uses of KVector in de.cau.cs.kieler.kiml.util
 

Methods in de.cau.cs.kieler.kiml.util that return KVector
static KVector KimlUtil.resizeNode(KNode node)
          Sets the size of a given node, depending on the minimal size, the number of ports on each side, the insets, and the label.
static KVector KimlUtil.resizeNode(KNode node, float newWidth, float newHeight, boolean movePorts)
          Resize a node to the given width and height, adjusting port and label positions if needed.
 

Methods in de.cau.cs.kieler.kiml.util with parameters of type KVector
static void KimlUtil.toAbsolute(KVector point, KNode parent)
          Converts the given relative point to an absolute location.
static void KimlUtil.toRelative(KVector point, KNode parent)
          Converts the given absolute point to a relative location.
 

Uses of KVector in de.cau.cs.kieler.klay.force.graph
 

Methods in de.cau.cs.kieler.klay.force.graph that return KVector
 KVector FNode.getDisplacement()
          Returns the displacement vector.
 KVector FParticle.getPosition()
          Returns the position vector of this particle.
 KVector FParticle.getSize()
          Returns the size of this particle.
 KVector FEdge.getSourcePoint()
          Returns the docking point at the source node.
 KVector FEdge.getTargetPoint()
          Returns the docking point at the target node.
 

Uses of KVector in de.cau.cs.kieler.klay.force.model
 

Methods in de.cau.cs.kieler.klay.force.model that return KVector
protected abstract  KVector AbstractForceModel.calcDisplacement(FParticle forcer, FParticle forcee)
          Calculate a displacement for the given particles.
protected  KVector EadesModel.calcDisplacement(FParticle forcer, FParticle forcee)
          Calculate a displacement for the given particles.
protected  KVector FruchtermanReingoldModel.calcDisplacement(FParticle forcer, FParticle forcee)
          Calculate a displacement for the given particles.
 

Uses of KVector in de.cau.cs.kieler.klay.force.properties
 

Fields in de.cau.cs.kieler.klay.force.properties with type parameters of type KVector
static IProperty<KVector> Properties.BB_LOWRIGHT
          lower right corner of the graph's bounding box.
static IProperty<KVector> Properties.BB_UPLEFT
          upper left corner of the graph's bounding box.
 

Uses of KVector in de.cau.cs.kieler.klay.layered
 

Methods in de.cau.cs.kieler.klay.layered that return KVector
protected  KVector AbstractGraphImporter.getExternalPortPosition(LayeredGraph graph, LNode portDummy, double portWidth, double portHeight)
          Calculates the position of the external port's top left corner from the position of the given dummy node that represents the port.
 

Methods in de.cau.cs.kieler.klay.layered with parameters of type KVector
static void Util.centerPoint(KVector point, KVector boundary, PortSide side)
          Center the given point on one side of a boundary.
protected  void KGraphImporter.clip(KVector endpoint, KVector portSize, KVector next)
          KLay Layered aligns ports at their center.
protected  LNode AbstractGraphImporter.createExternalPortDummy(Object port, PortConstraints portConstraints, PortSide portSide, int netFlow, KVector portNodeSize, KVector portPosition, KVector portSize)
          Creates a dummy for an external port.
 

Uses of KVector in de.cau.cs.kieler.klay.layered.graph
 

Methods in de.cau.cs.kieler.klay.layered.graph that return KVector
 KVector LayeredGraph.getActualSize()
          Returns the graph's size including any borders.
 KVector LNode.getAnchorPointPosition(LayeredGraph graph)
          Returns the position of this node's anchor point.
 KVector LayeredGraph.getOffset()
          Returns the offset for the graph, that is a coordinate vector that has to be added to all position values of nodes and edges.
 KVector LShape.getPosition()
          Returns the element's current position.
 KVector LShape.getSize()
          Returns the element's current size.
 KVector Layer.getSize()
          Returns the size of the layer, that is the height of the stacked nodes and the maximal width of the nodes.
 KVector LayeredGraph.getSize()
          Returns the size of the graph, that is the bounding box that covers the whole drawing.
 KVector LEdge.getSourcePoint()
          Return a new vector representing the source point of the edge, which has the same reference point as the bend points.
 KVector LEdge.getTargetPoint()
          Return a new vector representing the target point of the edge, which has the same reference point as the bend points.
 

Uses of KVector in de.cau.cs.kieler.klay.layered.p5edges
 

Methods in de.cau.cs.kieler.klay.layered.p5edges that return KVector
 KVector LongEdge.getEndPoint()
           
 KVector LongEdge.getEndTangent()
           
 KVector LongEdge.getStartPoint()
           
 KVector LongEdge.getStartTangent()
           
 

Methods in de.cau.cs.kieler.klay.layered.p5edges that return types with arguments of type KVector
 LinkedList<KVector> LongEdge.getPoints()
           
 

Methods in de.cau.cs.kieler.klay.layered.p5edges with parameters of type KVector
 BezierSpline SplineGenerator.generateShortSpline(KVector q, KVector s)
          Generates a spline representation for straight edges.
 BezierSpline SplineGenerator.generateSpline(LinkedList<KVector> pArray, KVector vectorQ, KVector vectorS)
          generates a simple piecewise bezier curve for given points.
 

Method parameters in de.cau.cs.kieler.klay.layered.p5edges with type arguments of type KVector
 BezierSpline SplineGenerator.generateSpline(LinkedList<KVector> pArray)
          generates a simple piecewise bezier curve for given points.
 BezierSpline SplineGenerator.generateSpline(LinkedList<KVector> pArray, KVector vectorQ, KVector vectorS)
          generates a simple piecewise bezier curve for given points.
 boolean SplineGenerator.refineSpline(LinkedList<KVector> pArray, BezierSpline ospline, SplineGenerator.Curvature mode)
          perturb the control points of the spline in an attempt to make the spline fit.
 

Uses of KVector in de.cau.cs.kieler.klay.layered.properties
 

Fields in de.cau.cs.kieler.klay.layered.properties with type parameters of type KVector
static IProperty<KVector> Properties.POSITION_DIFFERENCE
          Difference of Positions for an UPPER_BORDER_DUMMY_NODE before and after the CompoundGraphRestorer.
static IProperty<KVector> Properties.RESIZE_RATIO
          width and height ratio by which a node was resized prior to importing.