Woolz Image Processing
Version 1.8.3
|
Functions for computing the convex hull of objects. More...
Functions | |
WlzConvHullDomain2 * | WlzMakeConvexHullDomain2 (int maxVtx, WlzVertexType vtxType, WlzErrorNum *dstErr) |
Allocates a new 2D convex hull domain with space for at least the requested number of vertices. More... | |
WlzConvHullDomain3 * | WlzMakeConvexHullDomain3 (int maxVtx, int maxFce, WlzVertexType vtxType, WlzErrorNum *dstErr) |
Allocates a new 3D convex hull domain with space for at least the requested number of vertices and faces. More... | |
WlzErrorNum | WlzFreeConvexHullDomain2 (WlzConvHullDomain2 *cvh) |
Frees the given 2D convex hull domain. More... | |
WlzErrorNum | WlzFreeConvexHullDomain3 (WlzConvHullDomain3 *cvh) |
Frees the given 3D convex hull domain. More... | |
WlzConvHullDomain2 * | WlzConvexHullCopy2 (WlzConvHullDomain2 *gCVH, WlzVertexType rVtxType, WlzErrorNum *dstErr) |
Copies the given 2D convex hull domain which has the minimum required number of vertices, with verticies of the required type. More... | |
WlzConvHullDomain3 * | WlzConvexHullCopy3 (WlzConvHullDomain3 *gCVH, WlzVertexType rVtxType, WlzErrorNum *dstErr) |
Copies the given 3D convex hull domain which has the minimum required number of vertices and faces, with verticies of the required type. More... | |
WlzObject * | WlzConvexHullToObj (WlzObject *cObj, WlzObjectType rType, WlzErrorNum *dstErr) |
Computes a new object of the requested type enclosing the same region of space as the given convex hull object. More... | |
WlzObject * | WlzObjToConvexHull (WlzObject *gObj, WlzErrorNum *dstErr) |
Computes the convex hull of the given object. If a degenerate convex hull is returned then the returned error will be WLZ_ERR_DEGENERATE. More... | |
WlzObject * | WlzObjToConvexPolygon (WlzObject *obj, WlzErrorNum *dstErr) |
Construct the minimal convex polygonal cover from interval domain. More... | |
WlzIVertex2 | WlzConvexHullVtxD2ToI2 (WlzDVertex2 d, WlzDVertex2 c) |
Convert the given double vertex to an integer vertex such that it will enclose the given convex hull double vertex. More... | |
WlzIVertex3 | WlzConvexHullVtxD3ToI3 (WlzDVertex3 d, WlzDVertex3 c) |
Convert the given double vertex to an integer vertex such that it will enclose the given convex hull double vertex. More... | |
Functions for computing the convex hull of objects.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.