Uses of Class
omix.util.math.vector.Vec2d
Package | Description |
---|---|
omix.util.math.curves |
This package provides polynomial computation methods.
|
omix.util.math.vector |
This package contains classes for linear algebra.
|
-
Uses of Vec2d in omix.util.math.curves
Fields in omix.util.math.curves declared as Vec2d Modifier and Type Field Description Vec2d
ArcSectionComputer2D. center
Center point of the arc.Methods in omix.util.math.curves that return Vec2d Modifier and Type Method Description Vec2d
ArcSectionComputer2D. accelerationAt(double t)
returns the acceleration (second derivative) of the curve at the parametert
static Vec2d
ShapeUtility. getDockingPosition(DockingPosition dock, Shape shape, Rectangle2D bounds)
computes the docking position on a certain shape (this method is not yet implemented and does currently return (0,0))Vec2d
ArcSectionComputer2D. pointAt(double t)
returns the point of the curve at the parametert
Vec2d
ArcSectionComputer2D. tangentAt(double t)
returns the tangent (first derivative) of the curve at the parametert
Constructors in omix.util.math.curves with parameters of type Vec2d Constructor Description ArcSectionComputer2D(Vec2d center, double radiusX, double radiusY, double startAngle, double length)
creates a new arc section computation unit. -
Uses of Vec2d in omix.util.math.vector
Methods in omix.util.math.vector that return Vec2d Modifier and Type Method Description Vec2d
Matrix2d. diag()
Returns the diagonal of the matrix as vectorVec2d
Matrix2d. dot(Vec2d vector)
Product with a vector.Vec2d
Vec2d. dot(double m)
Vec2d
Vec2d. minus(Vec2d v)
Vec2d
Vec2d. negate()
Vec2d
Vec2d. normalize()
Vec2d
Vec2d. plus(Vec2d v)
Vec2d
Vec2d. rotate(double angle)
Rotates the vector.Methods in omix.util.math.vector with parameters of type Vec2d Modifier and Type Method Description Vec2d
Matrix2d. dot(Vec2d vector)
Product with a vector.double
Vec2d. dot(Vec2d multiplicator)
double
Vec2d. getAngle(Vec2d coordinate)
Vec2d
Vec2d. minus(Vec2d v)
Vec2d
Vec2d. plus(Vec2d v)
void
Vec2d. set(Vec2d c)