Revision: 56779
http://sourceforge.net/p/brlcad/code/56779
Author: phoenixyjll
Date: 2013-08-13 13:16:50 +0000 (Tue, 13 Aug 2013)
Log Message:
-----------
l/100.0 is the normalized parameter. We should call ParameterAt().
Modified Paths:
--------------
brlcad/trunk/src/libbrep/boolean.cpp
Modified: brlcad/trunk/src/libbrep/boolean.cpp
===================================================================
--- brlcad/trunk/src/libbrep/boolean.cpp 2013-08-13 13:15:33 UTC (rev
56778)
+++ brlcad/trunk/src/libbrep/boolean.cpp 2013-08-13 13:16:50 UTC (rev
56779)
@@ -578,7 +578,7 @@
ON_3dPointArray ptarray(101);
for (int l = 0; l <= 100; l++) {
ON_3dPoint pt2d;
- pt2d =
loop[k]->PointAt(loop[k]->Domain().NormalizedParameterAt(l/100.0));
+ pt2d = loop[k]->PointAt(loop[k]->Domain().ParameterAt(l/100.0));
ptarray.Append(face.SurfaceOf()->PointAt(pt2d.x, pt2d.y));
}
c3d = new ON_PolylineCurve(ptarray);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits