pghull

From STX Wiki
Jump to navigationJump to search

Calculate the hull polygon of two polygons.

Usage
pghull(X, IX, Y, IY)
X
a closed point-list or a polygon-stream defining one or more polygons.
IX
the index of a polygon of X; 0 ≤ IX < pgget(X)
Y
a closed point-list or a polygon-stream defining one or more polygons.
IY
the index of a polygon of Y; 0 ≤ IY < pgget(Y)
Result
The result r is a polygon-stream containing the hull polygon of XIX and YIY. The function fails if the two polygons have no overlapping regions.
See also
pginit, pgget, pgitest, pgiline, pgxgrid, pgsplit, pgtrans

<function list>

Navigation menu

Personal tools