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

smooth_curvature.c File Reference

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

Include dependency graph for smooth_curvature.c:

Include dependency graph

Go to the source code of this file.

Functions

private int get_smoothing_points (polygons_struct *polygons, int n_neighbours[], int *neighbours[], int n_found, int list[], Real smoothing_distance, float distances[], Point *smoothing_points[])
private Real get_average_curvature (Point *point, Vector *normal, int n_smoothing_points, Point smoothing_points[])
public Real get_smooth_surface_curvature (polygons_struct *polygons, int n_neighbours[], int *neighbours[], int poly, int vertex, BOOLEAN distances_initialized, float distances[], Real smoothing_distance)


Function Documentation

private Real get_average_curvature Point *  point,
Vector *  normal,
int  n_smoothing_points,
Point  smoothing_points[]
 

Definition at line 220 of file smooth_curvature.c.

References FALSE, get_angle_between_points(), get_points_centroid(), and TRUE.

Referenced by get_smooth_surface_curvature().

public Real get_smooth_surface_curvature polygons_struct polygons,
int  n_neighbours[],
int *  neighbours[],
int  poly,
int  vertex,
BOOLEAN  distances_initialized,
float  distances[],
Real  smoothing_distance
 

Definition at line 57 of file smooth_curvature.c.

References compute_distances_from_point(), polygons_struct::end_indices, FALSE, get_average_curvature(), get_smoothing_points(), polygons_struct::indices, polygons_struct::n_points, polygons_struct::normals, POINT_INDEX, polygons_struct::points, and TRUE.

Referenced by get_polygon_vertex_curvatures().

private int get_smoothing_points polygons_struct polygons,
int  n_neighbours[],
int *  neighbours[],
int  n_found,
int  list[],
Real  smoothing_distance,
float  distances[],
Point *  smoothing_points[]
 

Definition at line 145 of file smooth_curvature.c.

References distance_between_points(), and polygons_struct::points.

Referenced by get_smooth_surface_curvature().


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