Represents a geometric ray, compound of a Point3 and a Vector3.
More...
Represents a geometric ray, compound of a Point3 and a Vector3.
com.beyondar.android.util.math.geom.Ray.Ray |
( |
Point3 |
p, |
|
|
Vector3 |
v |
|
) |
| |
Constructs a ray from a point and a vector.
- Parameters
-
com.beyondar.android.util.math.geom.Ray.Ray |
( |
Vector3 |
v | ) |
|
Constructs a ray from a point and a vector.
The point is defined as (0,0,0)
- Parameters
-
com.beyondar.android.util.math.geom.Ray.Ray |
( |
float |
vec_x, |
|
|
float |
vec_y, |
|
|
float |
vec_z |
|
) |
| |
Constructs a ray from a point and a vector.
The point is defined as (0,0,0)
- Parameters
-
vec_x | the vector x value |
vec_y | the vector y value |
vec_z | the vector z value |
Point3 com.beyondar.android.util.math.geom.Ray.getPoint |
( |
float |
t | ) |
|
Returns the point in the ray that corresponds to the given t parameter.
- Parameters
-
- Returns
- the corresponding point
Point3 com.beyondar.android.util.math.geom.Ray.getPoint |
( |
| ) |
|
Returns the starting point for this ray.
- Returns
- the starting point for this ray
Vector3 com.beyondar.android.util.math.geom.Ray.getVector |
( |
| ) |
|
Returns the vector defining the ray.
- Returns
- the vector defining the ray
The documentation for this class was generated from the following file:
- src/com/beyondar/android/util/math/geom/Ray.java