#include <volume_io/internal_volume_io.h>
#include <bicpl/geom.h>
#include <bicpl/numerical.h>
Include dependency graph for polygon_sphere.c:
Go to the source code of this file.
Functions | |
private int | get_n_sphere_points (int n_up, int n_around) |
private void | get_sphere_point (Real up, Real around, Point *centre, Real x_size, Real y_size, Real z_size, Point *point) |
private void | get_subdivided_point (int up, int around, Point input_points[], int input_n_up, Point *point) |
public void | create_polygons_sphere (Point *centre, Real x_size, Real y_size, Real z_size, int n_up, int n_around, BOOLEAN subdividing_flag, polygons_struct *polygons) |
public int | get_sphere_point_index (int up, int around, int n_up, int n_around) |
public BOOLEAN | is_this_sphere_topology (polygons_struct *polygons) |
public BOOLEAN | get_tessellation_of_polygons_sphere (polygons_struct *polygons, int *tess) |
public int | get_tessellation_with_n_points (int n_points) |
public void | half_sample_sphere_tessellation (polygons_struct *polygons, polygons_struct *half) |
|
|
Definition at line 297 of file polygon_sphere.c. Referenced by create_polygons_sphere(). |
|
Definition at line 322 of file polygon_sphere.c. Referenced by create_polygons_sphere(). |
|
Definition at line 252 of file polygon_sphere.c. Referenced by create_polygons_sphere(), get_subdivided_point(), and half_sample_sphere_tessellation(). |
|
Definition at line 358 of file polygon_sphere.c. References get_sphere_point_index(). Referenced by create_polygons_sphere(). |
|
Definition at line 437 of file polygon_sphere.c. References FALSE, GET_OBJECT_SIZE, and polygons_struct::n_items. Referenced by check_correct_general_polygons(), check_correct_parametric_polygons(), check_correct_subsampled_polygons(), create_polygons_sphere(), half_sample_sphere_tessellation(), and is_this_sphere_topology(). |
|
Definition at line 502 of file polygon_sphere.c. References solve_quadratic(). Referenced by check_correct_parametric_polygons(), and check_correct_subsampled_polygons(). |
|
Definition at line 545 of file polygon_sphere.c. References polygons_struct::colour_flag, polygons_struct::colours, create_polygons_sphere(), FALSE, get_sphere_point_index(), get_tessellation_of_polygons_sphere(), polygons_struct::n_points, ONE_COLOUR, PER_ITEM_COLOURS, PER_VERTEX_COLOURS, polygons_struct::points, and polygons_struct::surfprop. Referenced by check_correct_general_polygons(). |
|
Definition at line 415 of file polygon_sphere.c. References get_tessellation_of_polygons_sphere(). Referenced by subdivide_polygons(). |