Abstract definition of a shape type. More...
 Inheritance diagram for type_shape::t_shape:
 Inheritance diagram for type_shape::t_shape:| Public Member Functions | |
| procedure(abs_initialize_shape), deferred | initialize (shape) | 
| Initialize the shape. | |
| procedure(abs_copy_shape), deferred | copy (shape, copy) | 
| Copy the shape. | |
| procedure(abs_shape_is_inside), deferred | is_inside (shape, point) | 
| Check if a point lies inside the shape. | |
| procedure(abs_shape_get_samples_inside), deferred | get_samples_inside (shape, i, j, k, n, n_samples, samples) | 
| Check if a given number of point lies in a shape. | |
| procedure(abs_shape_get_distance), deferred | get_distance (shape, point, distance, direction) | 
| Compute the distance and the direction from a point to the shape. | |
| procedure(abs_shape_ray_trace), deferred | ray_trace (shape, ray, has_normal, intersection_list) | 
| Compute the intersection between the shape and a ray. | |
| Public Attributes | |
| integer | dimension = 2 | 
| Dimension of the shape. | |
| type(t_cg_transformation) | transformation | 
| Transformation matrix. | |
| logical | is_reversed = .false. | 
| Swap interior/exterior sides of the shape. | |
Abstract definition of a shape type.