Package | Description |
---|---|
org.povclipse2.tools.image.hdr |
Modifier and Type | Method and Description |
---|---|
Vec2 |
Vec2.minus(Vec2 v)
Calculate the difference between this vector and another one.
|
Vec2 |
Vec2.plus(Vec2 v)
Calculate the sum of this vector and another one.
|
Vec2 |
Vec2.times(double d)
Create a new Vec2 by multiplying each component of this one by a constant.
|
static Vec2 |
Vec2.vx()
Create a unit vector which points in the X direction.
|
static Vec2 |
Vec2.vy()
Create a unit vector which points in the Y direction.
|
Modifier and Type | Method and Description |
---|---|
void |
Vec2.add(Vec2 v)
Add another Vec2 to this one.
|
double |
Vec2.cross(Vec2 v)
Calculate the cross product of this vector with another one.
|
double |
Vec2.distance(Vec2 v)
Calculate the Euclidean distance between this vector and another one.
|
double |
Vec2.distance2(Vec2 v)
Calculate the square of the Euclidean distance between this vector and another one.
|
double |
Vec2.dot(Vec2 v)
Calculate the dot product of this vector with another one.
|
boolean |
Vec2.equals(Vec2 v)
Determine whether two vectors are identical.
|
void |
HDRImage.getGradient(Vec2 grad,
int component,
boolean wrapx,
boolean wrapy,
double x,
double y,
double xsize,
double ysize)
Get the gradient of a single component at a particular location in the image.
|
abstract void |
ImageMap.getGradient(Vec2 grad,
int component,
boolean wrapx,
boolean wrapy,
double x,
double y,
double xsize,
double ysize)
Get the gradient of a single component at a particular location in the image.
|
void |
MIPMappedImage.getGradient(Vec2 grad,
int component,
boolean wrapx,
boolean wrapy,
double x,
double y,
double xsize,
double ysize)
Get the gradient of a single component at a particular location in the image.
|
Vec2 |
Vec2.minus(Vec2 v)
Calculate the difference between this vector and another one.
|
Vec2 |
Vec2.plus(Vec2 v)
Calculate the sum of this vector and another one.
|
void |
Vec2.subtract(Vec2 v)
Subtract another Vec2 from this one.
|
Constructor and Description |
---|
Vec2(Vec2 v)
Create a new Vec2 identical to another one.
|