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.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.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. 
 

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 sum 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 sum 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.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 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.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
protected  LNode AbstractGraphImporter.createExternalPortDummy(Object port, PortConstraints portConstraints, PortSide portSide, int netFlow, KVector portNodeSize, KVector portPosition)
          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.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 LSizedGraphElement.getPosition()
          Returns the element's current position.
 KVector LSizedGraphElement.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.
 

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 ISplineGenerator.generateShortSpline(KVector q, KVector s)
          Generates a spline representation for straight edges.
 BezierSpline SimpleSplineGenerator.generateShortSpline(KVector q, KVector s)
          Generates a spline representation for straight edges.
 BezierSpline ISplineGenerator.generateSpline(LinkedList<KVector> pArray, KVector vectorQ, KVector vectorS)
          generates a simple piecewise bezier curve for given points.
 BezierSpline SimpleSplineGenerator.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 ISplineGenerator.generateSpline(LinkedList<KVector> pArray)
          generates a simple piecewise bezier curve for given points.
 BezierSpline SimpleSplineGenerator.generateSpline(LinkedList<KVector> pArray)
          generates a simple piecewise bezier curve for given points.
 BezierSpline ISplineGenerator.generateSpline(LinkedList<KVector> pArray, KVector vectorQ, KVector vectorS)
          generates a simple piecewise bezier curve for given points.
 BezierSpline SimpleSplineGenerator.generateSpline(LinkedList<KVector> pArray, KVector vectorQ, KVector vectorS)
          generates a simple piecewise bezier curve for given points.
 boolean ISplineGenerator.refineSpline(LinkedList<KVector> pArray, BezierSpline ospline, ISplineGenerator.curvature mode)
          perturb the control points of the spline in an attempt to make the spline fit.
 boolean SimpleSplineGenerator.refineSpline(LinkedList<KVector> pArray, BezierSpline ospline, ISplineGenerator.curvature mode)
          perturb the control points of the spline in an attempt to make the spline fit.