VisionX V4 | VPOLTOVER | VisionX V4 |
vpoltover - converts a polygon file to a vertex file |
vpoltover if=infile of=outfile [-p] [-v] [-dbug] |
Vpoltover converts a 3D polygon file to a 3D vertex file using a hash table. This program hashes adjacent vertices from the input polygon file into a direct-access table using a hash table for fast lookups and then outputs adjacencies to an adjaceny list file. The input polygon file is a list of 3D polygons with a VixX type of VX_V3D. Each 3D n-sided polygon is composed of n+1 3D vertices with the last vertex as a repetition of the first vertex to denote polygon closure. The output vertex file is a list of 3D vertices with a VisX type of VX_V3D. Each 3D vertex is composed of three floating point numbers. |
if= |
polygon file with each polygon of the format: VX_V3D [size=3(n+1)] polygon where n is the number sides of the polygon |
||
of= |
vertex file with each vertex of the format: VX_V3D [size=3] vertex |
||
-p |
inhibits packing of result |
||
-v |
verbose mode prints number of polygons, n-sided polygons, and vertices |
||
-dbug |
prints hash table and direct-access table |
B. C. Lee, 1999 |
vvertopol(1), vvertoadj(1), vpoltoadj(1), vadjtover(1), vadjtopol(1) |