Shape initializer base class. More...
| Public Member Functions | |
| procedure | is_inside (initializer, point) | 
| Test if a point is inside the shape of the initializer. | |
| procedure | get_samples_inside (initializer, i, j, k, n, samples) | 
| Test if a set of point is inside the shape of the initializer. | |
| procedure | get_distance (initializer, point, distance, direction) | 
| Evaluate the distance from a point to the shape of the initializer. | |
| procedure | set_samples (initializer, n_samples) | 
| Set the number of samples. | |
| procedure | ray_trace (initializer, ray, has_normal, intersection_list) | 
| Ray-trace the shape of the initializer. | |
| Public Attributes | |
| class(t_shape), allocatable | shape | 
| Contains the shape of the initializer. | |
| integer | n_samples = 10 | 
| Number of samples for the 'get_samples_inside' routine. | |
Shape initializer base class.