|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use KVector | |
---|---|
de.cau.cs.kieler.core.math | Mathematics classes and functions. |
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. |
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[] |
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.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. |
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 |
BezierSpline.addCurve(KVector startPnt,
KVector fstCtrPnt,
KVector sndCtrPnt,
KVector endPnt)
Adds a new curve to this piecewise bezier spline. |
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. |
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. |
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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |