Revision: 52620
http://brlcad.svn.sourceforge.net/brlcad/?rev=52620&view=rev
Author: brlcad
Date: 2012-10-01 16:54:53 +0000 (Mon, 01 Oct 2012)
Log Message:
-----------
variables set but not used, take them out.
Modified Paths:
--------------
brlcad/trunk/src/conv/step/OpenNurbsInterfaces.cpp
Modified: brlcad/trunk/src/conv/step/OpenNurbsInterfaces.cpp
===================================================================
--- brlcad/trunk/src/conv/step/OpenNurbsInterfaces.cpp 2012-10-01 16:49:19 UTC
(rev 52619)
+++ brlcad/trunk/src/conv/step/OpenNurbsInterfaces.cpp 2012-10-01 16:54:53 UTC
(rev 52620)
@@ -1602,7 +1602,7 @@
ON_3dPoint origin = GetOrigin();
ON_3dVector xaxis = GetXAxis();
ON_3dVector yaxis = GetYAxis();
- ON_3dVector norm = GetNormal();
+ // ON_3dVector norm = GetNormal();
origin = origin * LocalUnits::length;
@@ -1645,9 +1645,9 @@
std::cerr << "LoadONBrep for CylindricalSurface: " << 55 << std::endl;
}
ON_3dPoint origin = GetOrigin();
- ON_3dVector norm = GetNormal();
ON_3dVector xaxis = GetXAxis();
ON_3dVector yaxis = GetYAxis();
+ ON_3dVector norm = GetNormal();
origin = origin * LocalUnits::length;
@@ -1690,9 +1690,9 @@
return true; // already loaded
ON_3dPoint origin = GetOrigin();
- ON_3dVector norm = GetNormal();
ON_3dVector xaxis = GetXAxis();
ON_3dVector yaxis = GetYAxis();
+ ON_3dVector norm = GetNormal();
origin = origin * LocalUnits::length;
@@ -1807,9 +1807,10 @@
ON_3dPoint origin = GetOrigin();
ON_3dPoint center = origin * LocalUnits::length;
- ON_3dVector norm = GetNormal();
ON_3dVector xaxis = GetXAxis();
ON_3dVector yaxis = GetYAxis();
+ // ON_3dVector norm = GetNormal();
+
double r = radius * LocalUnits::length;
ON_Plane plane(origin, xaxis, yaxis);
// Creates a circle parallel to the plane
@@ -2004,7 +2005,7 @@
ON_3dPoint origin = GetOrigin();
ON_3dVector xaxis = GetXAxis();
ON_3dVector yaxis = GetYAxis();
- ON_3dPoint center = origin * LocalUnits::length;
+ // ON_3dPoint center = origin * LocalUnits::length;
double a = semi_axis_1 * LocalUnits::length;
double b = semi_axis_2 * LocalUnits::length;
@@ -2053,8 +2054,8 @@
ON_Ellipse ellipse(plane, a, b);
double eccentricity = sqrt(1.0 - (b * b) / (a * a));
- ON_3dPoint focus_1 = center + (eccentricity * a) * xaxis;
- ON_3dPoint focus_2 = center - (eccentricity * a) * xaxis;
+ // ON_3dPoint focus_1 = center + (eccentricity * a) * xaxis;
+ // ON_3dPoint focus_2 = center - (eccentricity * a) * xaxis;
ON_3dPoint pnt1;
ON_3dPoint pnt2;
@@ -2252,9 +2253,9 @@
s = end_param;
ON_3dPoint origin = GetOrigin();
- ON_3dVector norm = GetNormal();
ON_3dVector xaxis = GetXAxis();
ON_3dVector yaxis = GetYAxis();
+ // ON_3dVector norm = GetNormal();
ON_3dPoint center = origin;
double a = semi_axis;
@@ -2306,9 +2307,9 @@
// return true; // already loaded
ON_3dPoint origin = GetOrigin();
- ON_3dVector norm = GetNormal();
ON_3dVector xaxis = GetXAxis();
ON_3dVector yaxis = GetYAxis();
+ ON_3dVector norm = GetNormal();
norm.Unitize();
xaxis.Unitize();
@@ -2319,10 +2320,10 @@
double b = semi_imag_axis * LocalUnits::length;
double eccentricity = sqrt(1.0 + (b * b) / (a * a));
- ON_3dPoint vertex = center + a * xaxis;
- ON_3dPoint directrix = center + (a / eccentricity) * xaxis;
ON_3dPoint focus = center + (eccentricity * a) * xaxis;
ON_3dPoint focusprime = center - (eccentricity * a) * xaxis;
+ // ON_3dPoint vertex = center + a * xaxis;
+ // ON_3dPoint directrix = center + (a / eccentricity) * xaxis;
ON_3dPoint pnt1;
ON_3dPoint pnt2;
@@ -2473,14 +2474,14 @@
// return true; // already loaded
ON_3dPoint origin = GetOrigin();
- ON_3dVector normal = GetNormal();
ON_3dVector xaxis = GetXAxis();
- ON_3dVector yaxis = GetYAxis();
+ // ON_3dVector yaxis = GetYAxis();
+ // ON_3dVector normal = GetNormal();
ON_3dPoint center = origin * LocalUnits::length;
double fd = focal_dist * LocalUnits::length;
ON_3dPoint focus = center + fd * xaxis;
- ON_3dPoint directrix = center - fd * xaxis;
+ // ON_3dPoint directrix = center - fd * xaxis;
ON_3dPoint pnt1;
ON_3dPoint pnt2;
@@ -2722,9 +2723,9 @@
}
ON_3dPoint origin = GetOrigin();
- ON_3dVector norm = GetNormal();
ON_3dVector xaxis = GetXAxis();
ON_3dVector yaxis = GetYAxis();
+ // ON_3dVector norm = GetNormal();
origin = origin * LocalUnits::length;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits