[brlcad-commits] SF.net SVN: brlcad:[35870] brlcad/trunk/src/librt/primitives/rhc/rhc_brep. cpp
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <sta...@us...> - 2009-09-09 15:52:31
|
Revision: 35870 http://brlcad.svn.sourceforge.net/brlcad/?rev=35870&view=rev Author: starseeker Date: 2009-09-09 15:52:24 +0000 (Wed, 09 Sep 2009) Log Message: ----------- This is not the right way to do it apparently, but will need to be setting weights for this case. Modified Paths: -------------- brlcad/trunk/src/librt/primitives/rhc/rhc_brep.cpp Modified: brlcad/trunk/src/librt/primitives/rhc/rhc_brep.cpp =================================================================== --- brlcad/trunk/src/librt/primitives/rhc/rhc_brep.cpp 2009-09-09 15:45:10 UTC (rev 35869) +++ brlcad/trunk/src/librt/primitives/rhc/rhc_brep.cpp 2009-09-09 15:52:24 UTC (rev 35870) @@ -94,8 +94,9 @@ hypnurbscurve->SetCV(0,ON_3dPoint(ep1)); hypnurbscurve->SetCV(1,ON_3dPoint(ep2)); hypnurbscurve->SetCV(2,ON_3dPoint(ep3)); -// bu_log("Valid nurbs curve: %d\n", hypnurbscurve->IsValid(dump)); -// hypnurbscurve->Dump(*dump); + hypnurbscurve->SetWeight(1,0.25); + bu_log("Valid nurbs curve: %d\n", hypnurbscurve->IsValid(dump)); + hypnurbscurve->Dump(*dump); // Also need a staight line from the beginning to the end to // complete the loop This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |