Mercurial > octave
changeset 24265:4746bd294c54 stable
Fix definition of Delaunay triangulation in docstrings (bug #52416).
* delaunay3.m, delaunay.m: Fix definition of Delaunay triangulation in
docstring.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 16 Nov 2017 18:01:18 -0800 |
parents | ec4ec2f7029d |
children | c372b091f622 bda0c5b38bda |
files | scripts/deprecated/delaunay3.m scripts/geometry/delaunay.m |
diffstat | 2 files changed, 13 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/deprecated/delaunay3.m Thu Nov 16 17:24:09 2017 -0800 +++ b/scripts/deprecated/delaunay3.m Thu Nov 16 18:01:18 2017 -0800 @@ -25,7 +25,7 @@ ## ## Compute the Delaunay triangulation for a 3-D set of points. ## The return value @var{tetr} is a set of tetrahedrons which satisfies the -## Delaunay circum-circle criterion, i.e., only a single data point from +## Delaunay circum-circle criterion, i.e., no data point from ## [@var{x}, @var{y}, @var{z}] is within the circum-circle of the defining ## tetrahedron. ##
--- a/scripts/geometry/delaunay.m Thu Nov 16 17:24:09 2017 -0800 +++ b/scripts/geometry/delaunay.m Thu Nov 16 18:01:18 2017 -0800 @@ -24,20 +24,20 @@ ## Compute the Delaunay triangulation for a 2-D or 3-D set of points. ## ## For 2-D sets, the return value @var{tri} is a set of triangles which -## satisfies the Delaunay circum-circle criterion, i.e., only a single data -## point from [@var{x}, @var{y}] is within the circum-circle of the defining -## triangle. The set of triangles @var{tri} is a matrix of size [n, 3]. Each -## row defines a triangle and the three columns are the three vertices of the -## triangle. The value of @code{@var{tri}(i,j)} is an index into @var{x} and -## @var{y} for the location of the j-th vertex of the i-th triangle. +## satisfies the Delaunay circum-circle criterion, i.e., no data point from +## [@var{x}, @var{y}] is within the circum-circle of the defining triangle. +## The set of triangles @var{tri} is a matrix of size [n, 3]. Each row defines +## a triangle and the three columns are the three vertices of the triangle. +## The value of @code{@var{tri}(i,j)} is an index into @var{x} and @var{y} for +## the location of the j-th vertex of the i-th triangle. ## ## For 3-D sets, the return value @var{tetr} is a set of tetrahedrons which -## satisfies the Delaunay circum-circle criterion, i.e., only a single data -## point from [@var{x}, @var{y}, @var{z}] is within the circum-circle of the -## defining tetrahedron. The set of tetrahedrons is a matrix of size [n, 4]. -## Each row defines a tetrahedron and the four columns are the four vertices of -## the tetrahedron. The value of @code{@var{tetr}(i,j)} is an index into -## @var{x}, @var{y}, @var{z} for the location of the j-th vertex of the i-th +## satisfies the Delaunay circum-circle criterion, i.e., no data point from +## [@var{x}, @var{y}, @var{z}] is within the circum-circle of the defining +## tetrahedron. The set of tetrahedrons is a matrix of size [n, 4]. Each row +## defines a tetrahedron and the four columns are the four vertices of the +## tetrahedron. The value of @code{@var{tetr}(i,j)} is an index into @var{x}, +## @var{y}, @var{z} for the location of the j-th vertex of the i-th ## tetrahedron. ## ## The input @var{x} may also be a matrix with two or three columns where the