powered by
Generates a mesh for polygon with a single continuous geometry
SinglePoly.2d(x, y, ptDS, ptDL)
Coordinate points of nodes distributed within and on the line of a given geometry.
all coordinate points distributed across the geometry.
all coordinate points within the geometry ONLY.
all coordinate points that lay on the perimeter of the geometry ONLY.
X-coordinates for geometry.
Y-coordinates for geometry.
Density of points desired within the geometry.
Density of points desired at the perimeter of the geometry.
data(Cart) x = Cart[,1] y= Cart[,2] ptDS = 30 ptDL = 20 polyshape = SinglePoly.2d(x, y, ptDS, ptDL)
Run the code above in your browser using DataLab