void Sketcher_Profile::ShapeFunctor::addSegmentX( const TCollection_AsciiString& x,
int CurrentIndex )
{
+ (void)CurrentIndex; // unused in release mode
myMove = none;
myLength = x.RealValue();
if ( Abs( myDx ) < Precision::Confusion() ) {
void Sketcher_Profile::ShapeFunctor::addSegmentY( const TCollection_AsciiString& y,
int CurrentIndex )
{
+ (void)CurrentIndex; // unused in release mode
myMove = none;
myLength = y.RealValue();
if ( Abs( myDy ) < Precision::Confusion() ) {
\internal
*/
void Sketcher_Profile::DumpFunctor::addSegmentX( const TCollection_AsciiString& x,
- int CurrentIndex )
+ int /*CurrentIndex*/ )
{
myDescr += "sk.addSegmentX(";
myDescr += x + ")";
\internal
*/
void Sketcher_Profile::DumpFunctor::addSegmentY( const TCollection_AsciiString& y,
- int CurrentIndex )
+ int /*CurrentIndex*/ )
{
myDescr += "sk.addSegmentY(";
myDescr += y + ")";
*/
void Sketcher_Profile::DumpFunctor::addSegmentAngleLength( const TCollection_AsciiString& angle,
const TCollection_AsciiString& length,
- int& CurrentIndex )
+ int& /*CurrentIndex*/ )
{
double aAngle = angle.RealValue();
if ( aAngle == 90 ) {
*/
void Sketcher_Profile::DumpFunctor::addSegmentAngleX( const TCollection_AsciiString& angle,
const TCollection_AsciiString& x,
- int& CurrentIndex )
+ int& /*CurrentIndex*/ )
{
double aAngle = angle.RealValue();
if ( aAngle == 90 ) {
*/
void Sketcher_Profile::DumpFunctor::addSegmentAngleY( const TCollection_AsciiString& angle,
const TCollection_AsciiString& y,
- int& CurrentIndex )
+ int& /*CurrentIndex*/ )
{
double aAngle = angle.RealValue();
if ( aAngle == 90 ) {
void Sketcher_Profile::DumpFunctor::addSegmentDirectionLength( const TCollection_AsciiString& dx,
const TCollection_AsciiString& dy,
const TCollection_AsciiString& length,
- int& CurrentIndex )
+ int& /*CurrentIndex*/ )
{
myDescr += "sk.addSegmentDirectionLength(";
myDescr += dx + ", " + dy + ", " + length + ")";
void Sketcher_Profile::DumpFunctor::addSegmentDirectionX( const TCollection_AsciiString& dx,
const TCollection_AsciiString& dy,
const TCollection_AsciiString& x,
- int& CurrentIndex )
+ int& /*CurrentIndex*/ )
{
myDescr += "sk.addSegmentDirectionX(";
myDescr += dx + ", " + dy + ", " + x + ")";
void Sketcher_Profile::DumpFunctor::addSegmentDirectionY( const TCollection_AsciiString& dx,
const TCollection_AsciiString& dy,
const TCollection_AsciiString& y,
- int& CurrentIndex )
+ int& /*CurrentIndex*/ )
{
myDescr += "sk.addSegmentDirectionY(";
myDescr += dx + ", " + dy + ", " + y + ")";
void Sketcher_Profile::DumpFunctor::addArcAngleRadiusLength( const TCollection_AsciiString& angle,
const TCollection_AsciiString& radius,
const TCollection_AsciiString& length ,
- int& CurrentIndex )
+ int& /*CurrentIndex*/ )
{
double aAngle = angle.RealValue();
if ( aAngle == 90 ) {
const TCollection_AsciiString& dy,
const TCollection_AsciiString& radius,
const TCollection_AsciiString& length ,
- int& CurrentIndex )
+ int& /*CurrentIndex*/ )
{
myDescr += "sk.addArcDirectionRadiusLength(";
myDescr += dx + ", " + dy + ", " + radius + ", " + length + ")";
\param cmd sketcher script to parse
\internal
*/
-void Sketcher_Profile::parse( const TCollection_AsciiString& cmd, Functor* functor )
+void Sketcher_Profile::parse( const TCollection_AsciiString& /*cmd*/, Functor* functor )
{
int CurrentIndex = 1;
int NumberOfArg = 0;