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

points.c File Reference

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

Include dependency graph for points.c:

Include dependency graph

Go to the source code of this file.

Functions

public BOOLEAN null_Point (Point *p)
public BOOLEAN null_Vector (Vector *v)
public Real distance_between_points (Point *p1, Point *p2)
public BOOLEAN points_within_distance (Point *p1, Point *p2, Real distance)
public void apply_point_to_min_and_max (Point *point, Point *min_point, Point *max_point)
public void expand_min_and_max_points (Point *min_point, Point *max_point, Point *min_to_check, Point *max_to_check)
public void get_range_points (int n_points, Point points[], Point *min_corner, Point *max_corner)
public void get_points_centroid (int n_points, Point points[], Point *centroid)
public void reverse_vectors (int n_vectors, Vector vectors[])
public Real get_angle_between_points (Point *prev_point, Point *this_point, Point *next_point)


Function Documentation

public void apply_point_to_min_and_max Point *  point,
Point *  min_point,
Point *  max_point
 

Definition at line 141 of file points.c.

Referenced by get_range_points().

public Real distance_between_points Point *  p1,
Point *  p2
 

Definition at line 79 of file points.c.

Referenced by compute_distances_from_point(), compute_model_point(), distance_from_line(), estimate_polygon_curvature(), find_closest_vertex_on_object(), flatten_around_vertex(), get_distance_to_line_segment(), get_lines_arc_point(), get_lines_length(), get_point_marker_distance(), get_point_polygon_vertex_distance(), get_smoothing_points(), map_point_to_unit_sphere(), and smooth_lines().

public void expand_min_and_max_points Point *  min_point,
Point *  max_point,
Point *  min_to_check,
Point *  max_to_check
 

Definition at line 175 of file points.c.

Referenced by get_range_of_object().

public Real get_angle_between_points Point *  prev_point,
Point *  this_point,
Point *  next_point
 

Definition at line 305 of file points.c.

Referenced by compute_polygon_normals(), flatten_around_vertex(), and get_average_curvature().

public void get_points_centroid int  n_points,
Point  points[],
Point *  centroid
 

Definition at line 241 of file points.c.

References y.

Referenced by compute_points_centroid_and_normal(), get_average_curvature(), get_plane_through_points(), and update_point_position().

public void get_range_points int  n_points,
Point  points[],
Point *  min_corner,
Point *  max_corner
 

Definition at line 207 of file points.c.

References apply_point_to_min_and_max().

Referenced by coalesce_object_points(), create_lines_bintree(), create_polygons_bintree(), create_quadmesh_bintree(), and get_range_of_object().

public BOOLEAN null_Point Point *  p  ) 
 

Definition at line 36 of file points.c.

public BOOLEAN null_Vector Vector *  v  ) 
 

Definition at line 57 of file points.c.

Referenced by find_polygon_normal_no_normalize(), flatten_around_vertex_to_sphere(), get_two_d_coordinate(), and update_point_position().

public BOOLEAN points_within_distance Point *  p1,
Point *  p2,
Real  distance
 

Definition at line 108 of file points.c.

public void reverse_vectors int  n_vectors,
Vector  vectors[]
 

Definition at line 279 of file points.c.

Referenced by reverse_object_normals().


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