public class SFVec3d extends Field
| Constructor and Description |
|---|
SFVec3d()
Construct a default SFVec3d field.
|
SFVec3d(double x,
double y,
double z)
Construct anSFVec3d field using the given values.
|
| Modifier and Type | Method and Description |
|---|---|
void |
getValue(double[] vec3s)
Get the X, Y and Z values representing the SFVec3d.
|
double |
getX()
Get the X-component of the vector.
|
double |
getY()
Get the Y-component of the vector.
|
double |
getZ()
Get the Z-component of the vector.
|
void |
setValue(ConstSFVec3d vec)
Set the value of an SFVec3d using the given ConstSFVec3d.
|
void |
setValue(double[] vec3s)
Set the value of an SFVec3d.
|
void |
setValue(double x,
double y,
double z)
Set the value of SFVec3d with the given values.
|
void |
setValue(SFVec3d vec)
Set the value of an SFVec3d using the given SFVec3d.
|
public SFVec3d()
public SFVec3d(double x,
double y,
double z)
x - X-componenty - Y-componentz - Z-componentpublic void getValue(double[] vec3s)
vec3s - X, Y and Z values representing the SFVec3dpublic double getX()
public double getY()
public double getZ()
public void setValue(double[] vec3s)
vec3s - X, Y, Z valuepublic void setValue(double x,
double y,
double z)
x - X-component of vectory - Y-component of vectorz - Z-component of vectorpublic void setValue(ConstSFVec3d vec)
vec - ConstSFVec3d to take X, Y, Z values from.public void setValue(SFVec3d vec)
vec - SFVec3d to take X, Y, Z values from.