Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

tetrahedrons.c File Reference

#include <volume_io/internal_volume_io.h>
#include <bicpl/geom.h>

Include dependency graph for tetrahedrons.c:

Include dependency graph

Go to the source code of this file.

Functions

public BOOLEAN is_this_tetrahedral_topology (polygons_struct *polygons)
public int get_tetra_tessellation_with_n_points (int n_points)
public void create_tetrahedral_sphere (Point *centre, Real rx, Real ry, Real rz, int n_triangles, polygons_struct *polygons)
public void half_sample_tetrahedral_tessellation (polygons_struct *polygons, polygons_struct *half)


Function Documentation

public void create_tetrahedral_sphere Point *  centre,
Real  rx,
Real  ry,
Real  rz,
int  n_triangles,
polygons_struct polygons
 

Definition at line 101 of file tetrahedrons.c.

References compute_polygon_normals(), create_polygons_sphere(), create_unit_icosahedron(), create_unit_tetrahedron(), FALSE, polygons_struct::n_items, polygons_struct::n_points, polygons_struct::points, subdivide_polygons(), and y.

Referenced by check_correct_parametric_polygons(), check_correct_subsampled_polygons(), half_sample_tetrahedral_tessellation(), and io_polygons().

public int get_tetra_tessellation_with_n_points int  n_points  ) 
 

Definition at line 66 of file tetrahedrons.c.

Referenced by check_correct_parametric_polygons(), and check_correct_subsampled_polygons().

public void half_sample_tetrahedral_tessellation polygons_struct polygons,
polygons_struct half
 

Definition at line 213 of file tetrahedrons.c.

References polygons_struct::colour_flag, polygons_struct::colours, create_tetrahedral_sphere(), polygons_struct::n_items, polygons_struct::n_points, polygons_struct::normals, PER_VERTEX_COLOURS, and polygons_struct::points.

Referenced by check_correct_general_polygons().

public BOOLEAN is_this_tetrahedral_topology polygons_struct polygons  ) 
 

Definition at line 38 of file tetrahedrons.c.

References polygons_struct::n_items.

Referenced by check_correct_general_polygons(), and io_polygons().


Generated on Wed Jul 28 09:11:21 2004 for BICPL by doxygen 1.3.7