[brlcad-commits] SF.net SVN: brlcad:[45163] brlcad/trunk/src/librt/primitives/nmg/nmg_misc.c
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <br...@us...> - 2011-06-21 10:32:23
|
Revision: 45163 http://brlcad.svn.sourceforge.net/brlcad/?rev=45163&view=rev Author: brlcad Date: 2011-06-21 10:32:16 +0000 (Tue, 21 Jun 2011) Log Message: ----------- wrap diagrams in @code/@endcode Modified Paths: -------------- brlcad/trunk/src/librt/primitives/nmg/nmg_misc.c Modified: brlcad/trunk/src/librt/primitives/nmg/nmg_misc.c =================================================================== --- brlcad/trunk/src/librt/primitives/nmg/nmg_misc.c 2011-06-21 04:59:06 UTC (rev 45162) +++ brlcad/trunk/src/librt/primitives/nmg/nmg_misc.c 2011-06-21 10:32:16 UTC (rev 45163) @@ -4790,18 +4790,18 @@ * Find the distance from a point P to a line described by the * endpoint A and direction dir, and the point of closest approach * (PCA). - * - * P - * * - * /. - * / . - * / . - * / . (dist) - * / . - * / . - * *------*--------> - * A PCA dir - * + @code + P + * + /. + / . + / . + / . (dist) + / . + / . + *------*--------> + A PCA dir + @endcode * There are three distinct cases, with these return codes - * 0 => P is within tolerance of point A. *dist = 0, pca=A. * 1 => P is within tolerance of line. *dist = 0, pca=computed. @@ -6586,20 +6586,20 @@ * * Detect situations where edges have been split, but new vertices are * in wrong order. This typically happens as shown: - * - * new face planes - * | - * | - * \ \ / | / - * \ \ /<--| / - * \ X / - * \ / \ / - * \ /___\ / - * \ / - * \ /<- original face planes - * \ / - * \___/ - * + @code + new face planes + | + | + \ \ / | / + \ \ /<--| / + \ X / + \ / \ / + \ /___\ / + \ / + \ /<- original face planes + \ / + \___/ + @endcode * This can be detected by checking if the edges leaving from the new * vertices cross. If so, the middle face is deleted and the two * vertices are fused. @@ -9054,7 +9054,8 @@ } -/** R T _ A R C 2 D _ T O _ C N U R B +/** + * R T _ A R C 2 D _ T O _ C N U R B * * Convert a 2D arc to a NURB curve. * This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |