Uses of Class
drawit.DoubleVector
Package | Description |
---|---|
drawit |
-
Uses of DoubleVector in drawit
Methods in drawit that return DoubleVector Modifier and Type Method Description DoubleVector
IntVector. asDoubleVector()
Returns aDoubleVector
object that represents the same vector represented by thisIntVector
object.DoubleVector
DoublePoint. minus(DoublePoint other)
DoubleVector
DoubleVector. plus(DoubleVector other)
DoubleVector
DoubleVector. scale(double d)
Returns aDoubleVector
object whose coordinates are obtained by multiplying this vector's coordinates by the given scale factor.Methods in drawit with parameters of type DoubleVector Modifier and Type Method Description double
DoubleVector. crossProduct(DoubleVector other)
Returns the cross product of this vector and the given vector.double
DoubleVector. dotProduct(DoubleVector other)
Returns the dot product of this vector and the given vector.DoublePoint
DoublePoint. plus(DoubleVector other)
DoubleVector
DoubleVector. plus(DoubleVector other)