[brlcad-commits] SF.net SVN: brlcad: [29980] brlcad/trunk/src/librt/g_arb.c
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <joh...@us...> - 2008-01-18 00:31:06
|
Revision: 29980 http://brlcad.svn.sourceforge.net/brlcad/?rev=29980&view=rev Author: johnranderson Date: 2008-01-17 16:31:09 -0800 (Thu, 17 Jan 2008) Log Message: ----------- added some minimal comments to rt_arb_get_cgtype Modified Paths: -------------- brlcad/trunk/src/librt/g_arb.c Modified: brlcad/trunk/src/librt/g_arb.c =================================================================== --- brlcad/trunk/src/librt/g_arb.c 2008-01-18 00:19:50 UTC (rev 29979) +++ brlcad/trunk/src/librt/g_arb.c 2008-01-18 00:31:09 UTC (rev 29980) @@ -168,10 +168,13 @@ * (Number of entries in uvec array) * * Implicit returns - - * *cgtype Comgeom type (number range 4..8; ARB4 .. ARB8). - * uvec[8] - * svec[11] - * Entries [0] and [1] are special + * *cgtype - Comgeom type (number range 4..8; ARB4 .. ARB8). + * uvec[8] - indices of unique vertices (return value is the number of valid entries) + * svec[11] - Entries [0] and [1] are special (they are the counts of duplicates) + * entries 2-10 are 2 lists of duplicate vertices + * entry[0] gives length of first list (starts at entry[2]) + * entry[1] gives length of second list (starts at entry[2+entry[0]]) + * */ int rt_arb_get_cgtype( This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |