Represents a 3D point.
More...
|
| Point3 (float x, float y, float z) |
| Constructs a 3D point. More...
|
|
| Point3 (Point3 p) |
|
void | set (float x, float y, float z) |
| Sets point coordinates. More...
|
|
void | add (float x, float y, float z) |
| Adds given coordinates to 3D point coordinates. More...
|
|
void | add (Point3 p) |
| Adds the point's coordinates. More...
|
|
float[] | getCoordinatesArray () |
|
String | toString () |
|
void | subtract (Point3 p) |
| Subtracts the point's coordinates. More...
|
|
float[] | array () |
| Returns a three dimension array with the coordinates. More...
|
|
void | set (float[] floatArray) |
|
void | inverseScale (Point3 scale) |
| Scales the point, dividing the current coordinates with the given scale. More...
|
|
void | scale (Point3 scale) |
| Scales the point, multiplying the current coordinates with the given scale. More...
|
|
void | set (Point3 p) |
| Copies the coordinates of the given point. More...
|
|
void | rotatePointDegrees_x (double angle_degrees, Point3 origin) |
|
void | rotatePointDegrees_y (double angle_degrees, Point3 origin) |
|
void | rotatePointDegrees_z (double angle_degrees, Point3 origin) |
|
void | rotatePointRadians_z (double angle_radians, Point3 origin) |
|
void | rotatePointRadians_x (double angle_radians, Point3 origin) |
|
void | rotatePointRadians_y (double angle_radians, Point3 origin) |
|
void | copy (Point3 out) |
|
void | add (float x, float y) |
| Adds given x and y to point x and way. More...
|
|
void | add (Point2 p) |
| Adds a point to this one, adding given point x and y coordinates to this x and y point. More...
|
|
|
static Point3 | getVolatilePoint (float x, float y, float z) |
|
|
float | z |
| z coordinate
|
|
float | x |
| x coordinate
|
|
float | y |
| y coordinate
|
|
com.beyondar.android.util.math.geom.Point3.Point3 |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
Constructs a 3D point.
- Parameters
-
x | x coordinate |
y | y coordinate |
z | z coordinate |
void com.beyondar.android.util.math.geom.Point3.add |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
Adds given coordinates to 3D point coordinates.
- Parameters
-
x | x coordinate |
y | y coordinate |
z | z coordinate |
void com.beyondar.android.util.math.geom.Point2.add |
( |
float |
x, |
|
|
float |
y |
|
) |
| |
|
inherited |
Adds given x and y to point x and way.
- Parameters
-
void com.beyondar.android.util.math.geom.Point3.add |
( |
Point3 |
p | ) |
|
Adds the point's coordinates.
- Parameters
-
void com.beyondar.android.util.math.geom.Point2.add |
( |
Point2 |
p | ) |
|
|
inherited |
Adds a point to this one, adding given point x and y coordinates to this x and y point.
- Parameters
-
float [] com.beyondar.android.util.math.geom.Point3.array |
( |
| ) |
|
Returns a three dimension array with the coordinates.
- Returns
void com.beyondar.android.util.math.geom.Point3.inverseScale |
( |
Point3 |
scale | ) |
|
Scales the point, dividing the current coordinates with the given scale.
- Parameters
-
void com.beyondar.android.util.math.geom.Point3.scale |
( |
Point3 |
scale | ) |
|
Scales the point, multiplying the current coordinates with the given scale.
- Parameters
-
void com.beyondar.android.util.math.geom.Point3.set |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
Sets point coordinates.
- Parameters
-
x | x coordinate |
y | y coordinate |
z | z coordinate |
void com.beyondar.android.util.math.geom.Point3.set |
( |
Point3 |
p | ) |
|
Copies the coordinates of the given point.
- Parameters
-
void com.beyondar.android.util.math.geom.Point3.subtract |
( |
Point3 |
p | ) |
|
Subtracts the point's coordinates.
- Parameters
-
The documentation for this class was generated from the following file:
- src/com/beyondar/android/util/math/geom/Point3.java