version 0.6.0
mod_shape_surface_mesh::t_shape_surface_mesh Type Reference
+ Inheritance diagram for mod_shape_surface_mesh::t_shape_surface_mesh:

Public Member Functions

procedure initialize => initialize_shape_surface_mesh
 Initialize the shape.
 
procedure copy => copy_shape_surface_mesh
 Copy the shape.
 
procedure is_inside => shape_surface_mesh_is_inside
 Check if a point lies inside the shape.
 
procedure get_samples_inside => shape_surface_mesh_get_samples_inside
 Check if a given number of point lies in a shape.
 
procedure get_distance => shape_surface_mesh_get_distance
 Compute the distance and the direction from a point to the shape.
 
procedure ray_trace => shape_surface_mesh_ray_trace
 Compute the intersection between the shape and a ray.
 
- Public Member Functions inherited from type_shape::t_shape
procedure(abs_initialize_shape), deferred initialize
 Initialize the shape.
 
procedure(abs_copy_shape), deferred copy
 Copy the shape.
 
procedure(abs_shape_is_inside), deferred is_inside
 Check if a point lies inside the shape.
 
procedure(abs_shape_get_samples_inside), deferred get_samples_inside
 Check if a given number of point lies in a shape.
 
procedure(abs_shape_get_distance), deferred get_distance
 Compute the distance and the direction from a point to the shape.
 
procedure(abs_shape_ray_trace), deferred ray_trace
 Compute the intersection between the shape and a ray.
 

Public Attributes

type(t_polyhedronmesh
 Surface mesh stored as a polyhedron.
 
type(t_distance_list), dimension(:,:), allocatable z_buffer
 List of z-buffers used for sampling.
 
type(t_octreeoctree
 Octree of the mesh.
 
double precision, dimension(3, 2) bounding_box
 Aligned-axis bounding box.
 
double precision, dimension(3) thickness
 Thickness of the shape.
 
integer n_samples = -1
 Backup of samples number used for the rasterization.
 
- Public Attributes inherited from type_shape::t_shape
integer dimension = 2
 Dimension of the shape.
 
type(cg_transformationtransformation
 Transformation matrix.
 
logical is_reversed = .false.
 Swap interior/exterior sides of the shape.
 

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