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

poly_neighs.c File Reference

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

Include dependency graph for poly_neighs.c:

Include dependency graph

Go to the source code of this file.

Defines

#define SMALL_CHUNK_SIZE   4

Functions

private void create_polygon_neighbours (polygons_struct *polygons, int neighbours[])
public void check_polygons_neighbours_computed (polygons_struct *polygons)
public void delete_polygon_point_neighbours (polygons_struct *polygons, int n_point_neighbours[], int *point_neighbours[], Smallest_int interior_flags[], int *point_polygons[])
private void insert_neighbours (int n_to_add, int indices[], int n_nodes, int *n_neighbours, int *neighbours[])
public void create_polygon_point_neighbours (polygons_struct *polygons, BOOLEAN across_polygons_flag, int *n_point_neighbours_ptr[], int **point_neighbours_ptr[], Smallest_int *interior_flags_ptr[], int **point_polygons_ptr[])


Define Documentation

#define SMALL_CHUNK_SIZE   4
 

Definition at line 22 of file poly_neighs.c.

Referenced by insert_neighbours().


Function Documentation

public void check_polygons_neighbours_computed polygons_struct polygons  ) 
 

Definition at line 42 of file poly_neighs.c.

References create_polygon_neighbours(), polygons_struct::end_indices, polygons_struct::n_items, and polygons_struct::neighbours.

Referenced by compute_polygons_model_info(), and smooth_polygon().

private void create_polygon_neighbours polygons_struct polygons,
int  neighbours[]
 

Definition at line 340 of file poly_neighs.c.

References create_polygon_point_neighbours(), delete_polygon_point_neighbours(), polygons_struct::end_indices, FALSE, GET_OBJECT_SIZE, polygons_struct::indices, polygons_struct::n_items, polygons_struct::n_points, and POINT_INDEX.

Referenced by check_polygons_neighbours_computed().

public void create_polygon_point_neighbours polygons_struct polygons,
BOOLEAN  across_polygons_flag,
int *  n_point_neighbours_ptr[],
int **  point_neighbours_ptr[],
Smallest_int *  interior_flags_ptr[],
int **  point_polygons_ptr[]
 

Definition at line 157 of file poly_neighs.c.

References polygons_struct::end_indices, FALSE, GET_OBJECT_SIZE, polygons_struct::indices, insert_neighbours(), MAX_POINTS_PER_POLYGON, polygons_struct::n_items, polygons_struct::n_points, and POINT_INDEX.

Referenced by create_polygon_neighbours(), and subdivide_polygons().

public void delete_polygon_point_neighbours polygons_struct polygons,
int  n_point_neighbours[],
int *  point_neighbours[],
Smallest_int  interior_flags[],
int *  point_polygons[]
 

Definition at line 52 of file poly_neighs.c.

References polygons_struct::n_points.

Referenced by create_polygon_neighbours(), and subdivide_polygons().

private void insert_neighbours int  n_to_add,
int  indices[],
int  n_nodes,
int *  n_neighbours,
int *  neighbours[]
 

Definition at line 77 of file poly_neighs.c.

References FALSE, SMALL_CHUNK_SIZE, and TRUE.

Referenced by create_polygon_point_neighbours().


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