Mercurial > octave
comparison scripts/plot/draw/reducepatch.m @ 22245:3d287a11ea18
doc: Clarify that reducepatch only works on patches, not surfaces.
* reducepatch.m: Remove language that says function works on surfaces.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 09 Aug 2016 16:55:36 -0700 |
parents | 654de580bdb3 |
children | 12f1d273d22a |
comparison
equal
deleted
inserted
replaced
22244:a4ff69a4f239 | 22245:3d287a11ea18 |
---|---|
24 ## @deftypefnx {} {@var{reduced_fv} =} reducepatch (@dots{}, @var{reduction_factor}) | 24 ## @deftypefnx {} {@var{reduced_fv} =} reducepatch (@dots{}, @var{reduction_factor}) |
25 ## @deftypefnx {} {@var{reduced_fv} =} reducepatch (@dots{}, "fast") | 25 ## @deftypefnx {} {@var{reduced_fv} =} reducepatch (@dots{}, "fast") |
26 ## @deftypefnx {} {@var{reduced_fv} =} reducepatch (@dots{}, "verbose") | 26 ## @deftypefnx {} {@var{reduced_fv} =} reducepatch (@dots{}, "verbose") |
27 ## @deftypefnx {} {[@var{reduced_faces}, @var{reduces_vertices}] =} reducepatch (@dots{}) | 27 ## @deftypefnx {} {[@var{reduced_faces}, @var{reduces_vertices}] =} reducepatch (@dots{}) |
28 ## | 28 ## |
29 ## Reduce the number of faces and vertices in a surface or patch object while | 29 ## Reduce the number of faces and vertices in a patch object while retaining |
30 ## retaining the overall shape of the patch. | 30 ## the overall shape of the patch. |
31 ## | 31 ## |
32 ## The input patch can be represented by a structure @var{fv} with the | 32 ## The input patch can be represented by a structure @var{fv} with the |
33 ## fields @code{faces} and @code{vertices}, by two matrices @var{faces} and | 33 ## fields @code{faces} and @code{vertices}, by two matrices @var{faces} and |
34 ## @var{vertices} (see, e.g., the result of @code{isosurface}), or by a | 34 ## @var{vertices} (see, e.g., the result of @code{isosurface}), or by a |
35 ## handle to a patch object @var{patch_handle} (@pxref{XREFpatch,,patch}). | 35 ## handle to a patch object @var{patch_handle} (@pxref{XREFpatch,,patch}). |