version 0.6.0
type_initializer::t_shape_initializer Type Reference

Public Member Functions

procedure is_inside => shape_is_inside
 Test if a point is inside the shape of the initializer.
 
procedure get_samples_inside => shape_get_samples_inside
 Test if a set of point is inside the shape of the initializer.
 
procedure get_distance => shape_get_distance
 Evaluate the distance from a point to the shape of the initializer.
 
procedure set_samples => shape_set_samples
 Set the number of samples.
 
procedure ray_trace => shape_ray_trace
 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.
 

The documentation for this type was generated from the following file: