| Modifier and Type | Method and Description |
|---|---|
Vec2f |
Vec2f.addScaled(float s,
Vec2f arg)
Returns this + s * arg; creates new vector
|
Vec2f |
Vec2f.copy() |
Vec2f |
Vec2f.minus(Vec2f arg)
Returns this - arg; creates new vector
|
Vec2f |
Vec2f.plus(Vec2f arg)
Returns this + arg; creates new vector
|
Vec2f |
Vec2f.times(float val)
Returns this * val; creates new vector
|
Vec2f |
Veci.toVec2f() |
Vec2f |
Vecf.toVec2f() |
| Modifier and Type | Method and Description |
|---|---|
void |
Vec2f.add(Vec2f b)
this = this + b
|
void |
Vec2f.add(Vec2f a,
Vec2f b)
this = a + b
|
Vec2f |
Vec2f.addScaled(float s,
Vec2f arg)
Returns this + s * arg; creates new vector
|
void |
Vec2f.addScaled(Vec2f a,
float s,
Vec2f b)
this = a + s * b
|
float |
Vec2f.dot(Vec2f arg) |
boolean |
PlaneUV.intersectRay(Vec3f rayStart,
Vec3f rayDirection,
IntersectionPoint intPt,
Vec2f uvCoords)
Intersect a ray with this plane, outputting not only the 3D
intersection point but also the U, V coordinates of the
intersection.
|
Vec2f |
Vec2f.minus(Vec2f arg)
Returns this - arg; creates new vector
|
Vec2f |
Vec2f.plus(Vec2f arg)
Returns this + arg; creates new vector
|
void |
PlaneUV.projectPoint(Vec3f point,
Vec3f projPt,
Vec2f uvCoords)
Project a point onto the plane
|
void |
Vec2f.set(Vec2f arg) |
void |
Mat2f.setCol(int i,
Vec2f v)
Set column i (i=[0..1]) to vector v.
|
void |
Mat2f.setRow(int i,
Vec2f v)
Set row i (i=[0..1]) to vector v.
|
void |
Vec2f.sub(Vec2f b)
this = this - b
|
void |
Vec2f.sub(Vec2f a,
Vec2f b)
this = a - b
|
void |
Mat2f.xformVec(Vec2f src,
Vec2f dest)
Multiply a 2D vector by this matrix.
|
| Constructor and Description |
|---|
Vec2f(Vec2f arg) |
Copyright © 2007–2017 Gephi Consortium. All rights reserved.