generate - create a point cloud.
generate [-?|-h|--help] [-t|--topology] [nx|nx ny|nx ny nz]
generate creates a point cloud of regularly spaced points. The number of arguments specifies the dimension of the point cloud. One argument produce a line, two arguments a square and three arguments a cube, all of dimension 1. If, for example, one argument is given, it produces a line of nx points dividing the segment (0,0,0)-(1,0,0). The resulting point cloud is sent to the standard output. Option -t allows to produce a line cloud, a triangle cloud or a tetrahedron cloud. For a line cloud, use li2string(2) to convert it to the format used by other points&forces programs. For a tetrahedron cloud, use tet2vtk(2) to convert it to the VTK format (paraview can be used to process it). The cloud can be scaled and shaped using a combination of other points&forces programs, awk(1).
Returns the manual page.
Output the topology (lines, triangles or tetrahedron) after the point cloud.
Written by Pierre Smars (first version: 2020)
Reports of bugs or problems should be submitted via electronic mail to <smars@yuntech.edu.tw>.
Copyright (C) 2020 Pierre Smars. License GPLv2 <http://www.gnu.org/licenses/gpl-2.0.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
view_pt(1), scale(1), rotate(1), li2string(1), tet2vtk(1)