Uses of Interface
toxi.geom.ReadonlyVec4D
-
Uses of ReadonlyVec4D in toxi.geom
Modifier and TypeMethodDescriptionReadonlyVec4D.add
(ReadonlyVec4D v) Add vector v and returns result as new vector.final Vec4D
Vec4D.add
(ReadonlyVec4D v) ReadonlyVec4D.addScaled
(ReadonlyVec4D t, float s) final Vec4D
Vec4D.addScaled
(ReadonlyVec4D t, float s) final Vec4D
Vec4D.addScaledSelf
(ReadonlyVec4D t, float s) final Vec4D
Vec4D.addSelf
(ReadonlyVec4D v) float
ReadonlyVec4D.angleBetween
(ReadonlyVec4D v) Returns the (4-space) angle in radians between this vector and the vector parameter; the return value is constrained to the range [0,PI].final float
Vec4D.angleBetween
(ReadonlyVec4D v) Returns the (4-space) angle in radians between this vector and the vector parameter; the return value is constrained to the range [0,PI].int
ReadonlyVec4D.compareTo
(ReadonlyVec4D v) Compares the length of the vector with another one.int
Vec4D.compareTo
(ReadonlyVec4D v) float
ReadonlyVec4D.distanceTo
(ReadonlyVec4D v) Calculates distance to another vector.final float
Vec4D.distanceTo
(ReadonlyVec4D v) float
ReadonlyVec4D.distanceToSquared
(ReadonlyVec4D v) Calculates the squared distance to another vector.final float
Vec4D.distanceToSquared
(ReadonlyVec4D v) float
ReadonlyVec4D.dot
(ReadonlyVec4D v) Computes the scalar product (dot product) with the given vector.final float
Vec4D.dot
(ReadonlyVec4D v) boolean
Vec4D.equals
(ReadonlyVec4D v) Returns true if the Object v is of type Vec4D and all of the data members of v are equal to the corresponding data members in this vector.boolean
ReadonlyVec4D.equalsWithTolerance
(ReadonlyVec4D v, float tolerance) Compares this vector with the one given.boolean
Vec4D.equalsWithTolerance
(ReadonlyVec4D v, float tolerance) ReadonlyVec4D.interpolateTo
(ReadonlyVec4D v, float f) Interpolates the vector towards the given target vector, using linear interpolation.ReadonlyVec4D.interpolateTo
(ReadonlyVec4D v, float f, InterpolateStrategy s) Interpolates the vector towards the given target vector, using the givenInterpolateStrategy
.final Vec4D
Vec4D.interpolateTo
(ReadonlyVec4D v, float t) final Vec4D
Vec4D.interpolateTo
(ReadonlyVec4D v, float f, InterpolateStrategy s) final Vec4D
Vec4D.interpolateToSelf
(ReadonlyVec4D v, float t) final Vec4D
Vec4D.interpolateToSelf
(ReadonlyVec4D v, float f, InterpolateStrategy s) ReadonlyVec4D.scale
(ReadonlyVec4D s) Scales vector non-uniformly by vector v and returns result as new vector.Vec4D.scale
(ReadonlyVec4D s) Vec4D.scaleSelf
(ReadonlyVec4D s) final GVector
GVector.set
(ReadonlyVec4D tuple) Sets the value of this vector to the values in tuplefinal Vec4D
Vec4D.set
(ReadonlyVec4D v) ReadonlyVec4D.sub
(ReadonlyVec4D v) Subtracts vector v and returns result as new vector.final Vec4D
Vec4D.sub
(ReadonlyVec4D v) final Vec4D
Vec4D.subSelf
(ReadonlyVec4D v) ModifierConstructorDescriptionConstructs a new GVector and copies the initial values from the specified tuple. -
Uses of ReadonlyVec4D in toxi.processing
Modifier and TypeMethodDescriptionfinal void
ToxiclibsSupport.line
(ReadonlyVec4D a, ReadonlyVec4D b) final void
ToxiclibsSupport.point
(ReadonlyVec4D v)