**hypersphere_surface_test**,
a MATLAB program which
calls hypersphere_surface() to investigate a procedure for estimating the location of points on a
hypersurface implicitly defined by a characteristic function or by
a signed function.

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

hypersphere_surface, a MATLAB library which illustrates a procedure for estimating the location of a hypersurface defined by a characteristic function or a signed function.

- hypersphere_surface_test.m, calls all the tests.
- hypersphere_surface_test.sh, runs all the tests.
- hypersphere_surface_test.txt, the output file.

- exterior_point_characteristic_test.m, tests exterior_point_characteristic().
- interior_point_characteristic_test.m, tests interior_point_characteristic().

The **circle** example works with the characteristic function of
a circle.

- circle_characteristic.m, a characteristic function for a circle.
- circle_plots.m, creates plots of the surface and R(Theta) function for a circle, using a centered and an offcentered base point.
- circle_centered_plot.png, a plot of the radial distance R as a function of angle THETA for a circle defined by a characteristic function, using a centered base point.
- circle_centered_surface.png, a plot of the transition surface for a circle defined by a characteristic function, using a centered base point.
- circle_offcentered_plot.png, a plot of the radial distance R as a function of angle THETA for a circle defined by a characteristic function, using an offcentered base point.
- circle_offcentered_surface.png, a plot of the transition surface for a circle defined by a characteristic function, using an offcentered base point.

The **cube** example works with the characteristic function of
a cube.

- cube_characteristic.m, a characteristic function for a cube (any dimension).
- cube_plots.m, creates plots of the surface and R(Theta1,Theta2) function for a cube, using a centered and an offcentered base point.
- cube_centered_plot.png, a plot of the radial distance R as a function of the angles for a cube defined by a characteristic function, using a centered base point.
- cube_centered_surface.png, a plot of the transition surface for a cube defined by a characteristic function, using a centered base point.
- cube_offcentered_plot.png, a plot of the radial distance R as a function of the angles for a cube defined by a characteristic function, using an offcentered base point.
- cube_offcentered_surface.png, a plot of the transition surface for a cube defined by a characteristic function, using an offcentered base point.

The **sphere** example works with the characteristic function of
a sphere.

- sphere_characteristic.m, a characteristic function for a sphere (any dimension).
- sphere_plots.m, creates plots of the surface and R(Theta1,Theta2) function for a sphere, using a centered and an offcentered base point.
- sphere_centered_plot.png, a plot of the radial distance R as a function of the angles for a sphere defined by a characteristic function, using a centered base point.
- sphere_centered_surface.png, a plot of the transition surface for a sphere defined by a characteristic function, using a centered base point.
- sphere_offcentered_plot.png, a plot of the radial distance R as a function of the angles for a sphere defined by a characteristic function, using an offcentered base point.
- sphere_offcentered_surface.png, a plot of the transition surface for a sphere defined by a characteristic function, using an offcentered base point.

The **triangle** example works with the characteristic function of
a triangle.

- triangle_characteristic.m, a characteristic function for a triangle.
- triangle_plots.m, displays plots of the surface and R(Theta) function for a triangle, using a centered and an offcentered base point.
- triangle_centered_plot.png, a plot of the radial distance R as a function of angle THETA for a triangle defined by a characteristic function, using a centered base point.
- triangle_centered_surface.png, a plot of the transition surface for a triangle defined by a characteristic function, using a centered base point.
- triangle_offcentered_plot.png, a plot of the radial distance R as a function of angle THETA for a triangle defined by a characteristic function, using an offcentered base point.
- triangle_offcentered_surface.png, a plot of the transition surface for a triangle defined by a characteristic function, using an offcentered base point.