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

platonics.c File Reference

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

Include dependency graph for platonics.c:

Include dependency graph

Go to the source code of this file.

Functions

private void fill_in_indices (polygons_struct *polygons, int n_indices, int indices[])
public void create_unit_tetrahedron (polygons_struct *polygons)
public void create_unit_cube (polygons_struct *polygons)
public void create_unit_octohedron (polygons_struct *polygons)
public void create_unit_icosahedron (polygons_struct *polygons)


Function Documentation

public void create_unit_cube polygons_struct polygons  ) 
 

Definition at line 66 of file platonics.c.

References fill_in_indices(), initialize_polygons_with_size(), polygons_struct::points, and WHITE.

public void create_unit_icosahedron polygons_struct polygons  ) 
 

Definition at line 121 of file platonics.c.

References fill_in_indices(), initialize_polygons_with_size(), polygons_struct::points, and WHITE.

Referenced by create_tetrahedral_sphere().

public void create_unit_octohedron polygons_struct polygons  ) 
 

Definition at line 95 of file platonics.c.

References fill_in_indices(), initialize_polygons_with_size(), polygons_struct::points, and WHITE.

public void create_unit_tetrahedron polygons_struct polygons  ) 
 

Definition at line 41 of file platonics.c.

References fill_in_indices(), initialize_polygons_with_size(), polygons_struct::points, and WHITE.

Referenced by create_tetrahedral_sphere().

private void fill_in_indices polygons_struct polygons,
int  n_indices,
int  indices[]
 

Definition at line 22 of file platonics.c.

References compute_polygon_normals(), polygons_struct::end_indices, polygons_struct::indices, and polygons_struct::n_items.

Referenced by create_unit_cube(), create_unit_icosahedron(), create_unit_octohedron(), and create_unit_tetrahedron().


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