Implicit Body, Point, Vector, Scalar, Scalar, Integer, 5.30.0
Voxel Grid, Point, Vector
About this Block
What it does: The Ray Cast block creates a vector from a defined point, and outputs the point where the vector intersects the inputted voxel grid. Common uses:- Project points on to a Voxel Grid
Example File
Download Example: Ray Cast
Implicit Body, Point, Vector, Scalar, Scalar, Integer, 5.30.0
Computes the intersection between the zero-surface of an implicit and a ray via sphere tracing.Inputs
| Name | Type | Description |
|---|---|---|
| Implicit body | Implicit Body | Implicit body to measure |
| Point | Point | Point to shoot the ray from |
| Direction | Vector | Direction in which to shoot the ray |
| Tolerance | Scalar | Convergence threshold, needs to be smaller than the thickness you want to measure |
| Lipschitz | Scalar | Lipschitz constant of the implicit |
| Max. iterations | Integer | Maximum number of sphere tracing iterations to perform. |
Outputs
| Type |
|---|
| Point |
Voxel Grid, Point, Vector
Cast a ray to a voxel grid.Inputs
| Name | Type | Description |
|---|---|---|
| Grid | Voxel Grid | The voxel grid to ray cast. |
| Point | Point | The origin of the ray to intersect with the voxel grid. |
| Direction | Vector | The directions of the rays to intersect with the voxel grid. |
Outputs
| Type |
|---|
| Point |

