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

plane_polygon_intersect.c File Reference

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

Include dependency graph for plane_polygon_intersect.c:

Include dependency graph

Go to the source code of this file.

Functions

private void coalesce_lines (lines_struct *lines)
public void intersect_planes_with_polygons (polygons_struct *polygons, Point *plane_origin, Vector *plane_normal, lines_struct *lines)
public void intersect_planes_with_quadmesh (quadmesh_struct *quadmesh, Point *plane_origin, Vector *plane_normal, lines_struct *lines)


Function Documentation

private void coalesce_lines lines_struct lines  ) 
 

Definition at line 4 of file plane_polygon_intersect.c.

References lines_struct::end_indices, GET_OBJECT_SIZE, lines_struct::indices, lines_struct::n_items, lines_struct::n_points, and POINT_INDEX.

Referenced by intersect_planes_with_polygons(), and intersect_planes_with_quadmesh().

public void intersect_planes_with_polygons polygons_struct polygons,
Point *  plane_origin,
Vector *  plane_normal,
lines_struct lines
 

Definition at line 141 of file plane_polygon_intersect.c.

References coalesce_lines(), delete_hash2_table(), polygons_struct::end_indices, lines_struct::end_indices, GET_OBJECT_SIZE, polygons_struct::indices, lines_struct::indices, initialize_hash2_table(), initialize_lines(), insert_in_hash2_table(), lookup_in_hash2_table(), polygons_struct::n_items, lines_struct::n_items, lines_struct::n_points, POINT_INDEX, polygons_struct::points, lines_struct::points, start_new_line(), and WHITE.

public void intersect_planes_with_quadmesh quadmesh_struct quadmesh,
Point *  plane_origin,
Vector *  plane_normal,
lines_struct lines
 

Definition at line 255 of file plane_polygon_intersect.c.

References coalesce_lines(), delete_hash2_table(), lines_struct::end_indices, get_quadmesh_n_objects(), lines_struct::indices, initialize_hash2_table(), initialize_lines(), insert_in_hash2_table(), lookup_in_hash2_table(), quadmesh_struct::m, quadmesh_struct::n, lines_struct::n_items, lines_struct::n_points, quadmesh_struct::points, lines_struct::points, start_new_line(), and WHITE.


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