public class ConstSFVec2d extends ConstField
Constructor and Description |
---|
ConstSFVec2d(double x,
double y)
Construct a read-only SFVec2d field.
|
Modifier and Type | Method and Description |
---|---|
void |
getValue(double[] vec2s)
Get the X and Y values representing the SFVec2d.
|
double |
getX()
Get the X-component of the vector.
|
double |
getY()
Get the Y-component of the vector.
|
clone
public ConstSFVec2d(double x, double y)
x
- X-componenty
- Y-componentpublic void getValue(double[] vec2s)
vec2s
- X and Y values representing the SFVec2dpublic double getX()
public double getY()