|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectvrml.Field
vrml.field.SFVec3d
public class SFVec3d
Represents a VRML SFVec3d field in Java.
| Constructor Summary | |
|---|---|
SFVec3d()
Construct a default SFVec3d field. |
|
SFVec3d(double x,
double y,
double z)
Construct anSFVec3d field using the given values. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class vrml.Field |
|---|
clone, dispose, finalize, getPeer, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SFVec3d()
public SFVec3d(double x,
double y,
double z)
x - X-componenty - Y-componentz - Z-component| Method Detail |
|---|
public 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 value
public 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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||