mkpolyh

Section: Games and Demos (6)
Updated: November 1994
Index Return to Main Contents
 

NAME

mkpolyh - a program to generate rectangular meshes or nets from given functions  

SYNTAX

mkpolyh [options] <output file>  

DESCRIPTION

Mkpolyh is a utility to create meshes from one of several mesh functions, of the form z = f(x,y). The data is saved as a .polyh file.

The main purpose of this program is to allow the user to write their own mesh function and create a mesh for personal use. There are a number of sample functions included in the source code meshfn.c to demonstrate how to implement a mesh function.

It takes one filename and optional switches its command line arguments.  

Options

All these options can be abbreviated to the least letters needed to make the chosen option distinct. The default values are given in parentheses.

-list
lists the functions available with their default settings.
-function <fno>
sets the mesh function to be used. (0)
-size <XxYxZ>
specifies the size of the bounding box. (1.0x1.0x1.0)
-divisions <XxY>
sets the number of divisions used in the gird. (30x30)
-dmap '(<p1>,[<p2>,...])'
gives the parameters for the chosen function to use.
-help
prints a summary of command line options and returns to shell.

Once running, it will decide on the operations to perform solely on the command line switches.

 

FILES

meshfn.c - the source code containing the mesh functions.  

BUGS

If you find any bugs, please report them to the author listed below.  

SEE ALSO

cvtopolyh(6), cvtoppm(6), mkpolyh(6), sisgen(6), vpgs(6), xpgs(6) and xss(6).  

AUTHOR, COPYRIGHTS, AND WARNINGS

Copyright 1994, 16th November.

By Peter Chang. All rights reserved.

peterc@v2.ph.man.ac.uk

Version 1.0

See notice in the xpgs man page.


 

Index

NAME
SYNTAX
DESCRIPTION
Options
FILES
BUGS
SEE ALSO
AUTHOR, COPYRIGHTS, AND WARNINGS

This document was created by man2html, using the manual pages.
Time: 07:29:37 GMT, July 20, 2024