Interface RVec3Arg
- All Known Implementing Classes:
RVec3
public interface RVec3Arg
Read-only access to an
RVec3. (native type: const RVec3)-
Method Summary
Modifier and TypeMethodDescriptiongetX()Return the first (X) component at positional precision.getY()Return the 2nd (Y) component at positional precision.getZ()Return the 3rd (Z) component at positional precision.floatx()Return the first (X) component in single precision.doublexx()Return the first (X) component in double precision.floaty()Return the 2nd (Y) component in single precision.doubleyy()Return the 2nd (Y) component in double precision.floatz()Return the 3rd (Z) component in single precision.doublezz()Return the 3rd (Z) component in double precision.
-
Method Details
-
getX
Object getX()Return the first (X) component at positional precision. The vector is unaffected.- Returns:
- the component value
-
getY
Object getY()Return the 2nd (Y) component at positional precision. The vector is unaffected.- Returns:
- the component value
-
getZ
Object getZ()Return the 3rd (Z) component at positional precision. The vector is unaffected.- Returns:
- the component value
-
x
float x()Return the first (X) component in single precision. The vector is unaffected.- Returns:
- the component value
-
xx
double xx()Return the first (X) component in double precision. The vector is unaffected.- Returns:
- the component value
-
y
float y()Return the 2nd (Y) component in single precision. The vector is unaffected.- Returns:
- the component value
-
yy
double yy()Return the 2nd (Y) component in double precision. The vector is unaffected.- Returns:
- the component value
-
z
float z()Return the 3rd (Z) component in single precision. The vector is unaffected.- Returns:
- the component value
-
zz
double zz()Return the 3rd (Z) component in double precision. The vector is unaffected.- Returns:
- the component value
-