generateBoundaryLayer | mPower Reference Home |

generateBoundaryLayer[{{hx1,hy1},{hx2,hy2},...},options] returns an artificial layer of cells surrounding a convex hull.

The input to generateBoundaryLayer must be a list of two-dimensional
coordinates
{{x_{h1},y_{h1}},{x_{h2},y_{h2}},...} specifying the convex hull of the desired set of
points.The points do not have to be sorted.

For three-dimensional data, use generateBoundaryLayer3D.

If the convex hull is not known it can be calculated from the
actual points {{x_{1},y_{1}},{x_{2},y_{2}},...} as follows:

points={{xand then the boundary layer can be calculated as:_{1},y_{1}},{x_{2},y_{2}},...}; v=vertexCoordinates/.convexHull[points];

generateBoundaryLayer[v,options];

Options:

traceqhull→FalseboundaryCellDiameter→diameter of artificial cell (required option)

Example

A set of points. |
Their complex hull. |

A boundary layer of artificial points. |
Original points together with boundary layer and complex hull. |

[20-Dec-2005]