Save the date! Google I/O returns May 18-20 Register now

Module: tfg.geometry.representation.ray

Tensorflow ray utility functions.


class range: range(stop) -> range object


intersection_ray_sphere(...): Finds positions and surface normals where the sphere and the ray intersect.

sample_inverse_transform_stratified_1d(...): Sample points on a ray using inverse transform stratified sampling.

sample_stratified_1d(...): Sample points on a ray using stratified sampling.

triangulate(...): Triangulates 3d points by miminizing the sum of squared distances to rays.