1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0022623: Use of uninitialized variables in HLRBRep_Curve::UpdateMinMax in debug mode

This commit is contained in:
SZV
2011-10-12 06:22:36 +00:00
committed by bugmaster
parent 4714a7a650
commit 733a0e55f0
163 changed files with 966 additions and 1367 deletions

View File

@@ -1,8 +1,7 @@
-- File: HLRAlgo.cdl
-- Created: Tue Feb 18 17:18:30 1992
-- Author: Christophe MARION
-- <cma@sdsun1>
---Copyright: Matra Datavision 1992
-- File: HLRAlgo.cdl
-- Created: Tue Feb 18 17:18:30 1992
-- Author: Christophe MARION
---Copyright: Matra Datavision 1992
package HLRAlgo
--- Purpose: In order to have the precision required in

View File

@@ -1,24 +1,24 @@
// File: HLRAlgo.cxx
// Created: Tue Sep 12 17:05:53 1995
// Author: Christophe MARION
// <cma@ecolox>
// File: HLRAlgo.cxx
// Created: Tue Sep 12 17:05:53 1995
// Author: Christophe MARION
// Copyright: OPEN CASCADE 2000
#include <HLRAlgo.ixx>
static Standard_Real cosu0 = cos(0*PI/14);
static Standard_Real sinu0 = sin(0*PI/14);
static Standard_Real cosu1 = cos(1*PI/14);
static Standard_Real sinu1 = sin(1*PI/14);
static Standard_Real cosu2 = cos(2*PI/14);
static Standard_Real sinu2 = sin(2*PI/14);
static Standard_Real cosu3 = cos(3*PI/14);
static Standard_Real sinu3 = sin(3*PI/14);
static Standard_Real cosu4 = cos(4*PI/14);
static Standard_Real sinu4 = sin(4*PI/14);
static Standard_Real cosu5 = cos(5*PI/14);
static Standard_Real sinu5 = sin(5*PI/14);
static Standard_Real cosu6 = cos(6*PI/14);
static Standard_Real sinu6 = sin(6*PI/14);
static const Standard_Real cosu0 = cos(0.*PI/14.);
static const Standard_Real sinu0 = sin(0.*PI/14.);
static const Standard_Real cosu1 = cos(1.*PI/14.);
static const Standard_Real sinu1 = sin(1.*PI/14.);
static const Standard_Real cosu2 = cos(2.*PI/14.);
static const Standard_Real sinu2 = sin(2.*PI/14.);
static const Standard_Real cosu3 = cos(3.*PI/14.);
static const Standard_Real sinu3 = sin(3.*PI/14.);
static const Standard_Real cosu4 = cos(4.*PI/14.);
static const Standard_Real sinu4 = sin(4.*PI/14.);
static const Standard_Real cosu5 = cos(5.*PI/14.);
static const Standard_Real sinu5 = sin(5.*PI/14.);
static const Standard_Real cosu6 = cos(6.*PI/14.);
static const Standard_Real sinu6 = sin(6.*PI/14.);
//=======================================================================
//function : UpdateMinMax
@@ -26,62 +26,36 @@ static Standard_Real sinu6 = sin(6*PI/14);
//=======================================================================
void HLRAlgo::UpdateMinMax (const Standard_Real x,
const Standard_Real y,
const Standard_Real z,
const Standard_Address Min,
const Standard_Address Max)
const Standard_Real y,
const Standard_Real z,
const Standard_Address Min,
const Standard_Address Max)
{
Standard_Real d00,d01,d02,d03,d04,d05,d06,d07;
Standard_Real d08,d09,d10,d11,d12,d13,d14,d15;
d00 = cosu0 * x + sinu0 * y;
d01 = sinu0 * x - cosu0 * y;
d02 = cosu1 * x + sinu1 * y;
d03 = sinu1 * x - cosu1 * y;
d04 = cosu2 * x + sinu2 * y;
d05 = sinu2 * x - cosu2 * y;
d06 = cosu3 * x + sinu3 * y;
d07 = sinu3 * x - cosu3 * y;
d08 = cosu4 * x + sinu4 * y;
d09 = sinu4 * x - cosu4 * y;
d10 = cosu5 * x + sinu5 * y;
d11 = sinu5 * x - cosu5 * y;
d12 = cosu6 * x + sinu6 * y;
d13 = sinu6 * x - cosu6 * y;
d14 = z;
d15 = z;
if (((Standard_Real*)Min)[ 0] > d00) ((Standard_Real*)Min) [ 0] = d00;
if (((Standard_Real*)Max)[ 0] < d00) ((Standard_Real*)Max) [ 0] = d00;
if (((Standard_Real*)Min)[ 1] > d01) ((Standard_Real*)Min) [ 1] = d01;
if (((Standard_Real*)Max)[ 1] < d01) ((Standard_Real*)Max) [ 1] = d01;
if (((Standard_Real*)Min)[ 2] > d02) ((Standard_Real*)Min) [ 2] = d02;
if (((Standard_Real*)Max)[ 2] < d02) ((Standard_Real*)Max) [ 2] = d02;
if (((Standard_Real*)Min)[ 3] > d03) ((Standard_Real*)Min) [ 3] = d03;
if (((Standard_Real*)Max)[ 3] < d03) ((Standard_Real*)Max) [ 3] = d03;
if (((Standard_Real*)Min)[ 4] > d04) ((Standard_Real*)Min) [ 4] = d04;
if (((Standard_Real*)Max)[ 4] < d04) ((Standard_Real*)Max) [ 4] = d04;
if (((Standard_Real*)Min)[ 5] > d05) ((Standard_Real*)Min) [ 5] = d05;
if (((Standard_Real*)Max)[ 5] < d05) ((Standard_Real*)Max) [ 5] = d05;
if (((Standard_Real*)Min)[ 6] > d06) ((Standard_Real*)Min) [ 6] = d06;
if (((Standard_Real*)Max)[ 6] < d06) ((Standard_Real*)Max) [ 6] = d06;
if (((Standard_Real*)Min)[ 7] > d07) ((Standard_Real*)Min) [ 7] = d07;
if (((Standard_Real*)Max)[ 7] < d07) ((Standard_Real*)Max) [ 7] = d07;
if (((Standard_Real*)Min)[ 8] > d08) ((Standard_Real*)Min) [ 8] = d08;
if (((Standard_Real*)Max)[ 8] < d08) ((Standard_Real*)Max) [ 8] = d08;
if (((Standard_Real*)Min)[ 9] > d09) ((Standard_Real*)Min) [ 9] = d09;
if (((Standard_Real*)Max)[ 9] < d09) ((Standard_Real*)Max) [ 9] = d09;
if (((Standard_Real*)Min)[10] > d10) ((Standard_Real*)Min) [10] = d10;
if (((Standard_Real*)Max)[10] < d10) ((Standard_Real*)Max) [10] = d10;
if (((Standard_Real*)Min)[11] > d11) ((Standard_Real*)Min) [11] = d11;
if (((Standard_Real*)Max)[11] < d11) ((Standard_Real*)Max) [11] = d11;
if (((Standard_Real*)Min)[12] > d12) ((Standard_Real*)Min) [12] = d12;
if (((Standard_Real*)Max)[12] < d12) ((Standard_Real*)Max) [12] = d12;
if (((Standard_Real*)Min)[13] > d13) ((Standard_Real*)Min) [13] = d13;
if (((Standard_Real*)Max)[13] < d13) ((Standard_Real*)Max) [13] = d13;
if (((Standard_Real*)Min)[14] > d14) ((Standard_Real*)Min) [14] = d14;
if (((Standard_Real*)Max)[14] < d14) ((Standard_Real*)Max) [14] = d14;
if (((Standard_Real*)Min)[15] > d15) ((Standard_Real*)Min) [15] = d15;
if (((Standard_Real*)Max)[15] < d15) ((Standard_Real*)Max) [15] = d15;
Standard_Real d[16];
d[ 0] = cosu0 * x + sinu0 * y;
d[ 1] = sinu0 * x - cosu0 * y;
d[ 2] = cosu1 * x + sinu1 * y;
d[ 3] = sinu1 * x - cosu1 * y;
d[ 4] = cosu2 * x + sinu2 * y;
d[ 5] = sinu2 * x - cosu2 * y;
d[ 6] = cosu3 * x + sinu3 * y;
d[ 7] = sinu3 * x - cosu3 * y;
d[ 8] = cosu4 * x + sinu4 * y;
d[ 9] = sinu4 * x - cosu4 * y;
d[10] = cosu5 * x + sinu5 * y;
d[11] = sinu5 * x - cosu5 * y;
d[12] = cosu6 * x + sinu6 * y;
d[13] = sinu6 * x - cosu6 * y;
d[14] = z;
d[15] = z;
Standard_Integer i = 0;
while (i < 16)
{
if (((Standard_Real*)Min)[i] > d[i]) ((Standard_Real*)Min)[i] = d[i];
if (((Standard_Real*)Max)[i] < d[i]) ((Standard_Real*)Max)[i] = d[i];
i++;
}
}
//=======================================================================
@@ -90,41 +64,16 @@ void HLRAlgo::UpdateMinMax (const Standard_Real x,
//=======================================================================
void HLRAlgo::EnlargeMinMax (const Standard_Real tol,
const Standard_Address Min,
const Standard_Address Max)
const Standard_Address Min,
const Standard_Address Max)
{
((Standard_Real*)Min)[ 0] -= tol;
((Standard_Real*)Max)[ 0] += tol;
((Standard_Real*)Min)[ 1] -= tol;
((Standard_Real*)Max)[ 1] += tol;
((Standard_Real*)Min)[ 2] -= tol;
((Standard_Real*)Max)[ 2] += tol;
((Standard_Real*)Min)[ 3] -= tol;
((Standard_Real*)Max)[ 3] += tol;
((Standard_Real*)Min)[ 4] -= tol;
((Standard_Real*)Max)[ 4] += tol;
((Standard_Real*)Min)[ 5] -= tol;
((Standard_Real*)Max)[ 5] += tol;
((Standard_Real*)Min)[ 6] -= tol;
((Standard_Real*)Max)[ 6] += tol;
((Standard_Real*)Min)[ 7] -= tol;
((Standard_Real*)Max)[ 7] += tol;
((Standard_Real*)Min)[ 8] -= tol;
((Standard_Real*)Max)[ 8] += tol;
((Standard_Real*)Min)[ 9] -= tol;
((Standard_Real*)Max)[ 9] += tol;
((Standard_Real*)Min)[10] -= tol;
((Standard_Real*)Max)[10] += tol;
((Standard_Real*)Min)[11] -= tol;
((Standard_Real*)Max)[11] += tol;
((Standard_Real*)Min)[12] -= tol;
((Standard_Real*)Max)[12] += tol;
((Standard_Real*)Min)[13] -= tol;
((Standard_Real*)Max)[13] += tol;
((Standard_Real*)Min)[14] -= tol;
((Standard_Real*)Max)[14] += tol;
((Standard_Real*)Min)[15] -= tol;
((Standard_Real*)Max)[15] += tol;
Standard_Integer i = 0;
while (i < 16)
{
((Standard_Real*)Min)[i] -= tol;
((Standard_Real*)Max)[i] += tol;
i++;
}
}
//=======================================================================
@@ -133,41 +82,16 @@ void HLRAlgo::EnlargeMinMax (const Standard_Real tol,
//=======================================================================
void HLRAlgo::InitMinMax (const Standard_Real Big,
const Standard_Address Min,
const Standard_Address Max)
const Standard_Address Min,
const Standard_Address Max)
{
((Standard_Real*)Min)[ 0] =
((Standard_Real*)Min)[ 1] =
((Standard_Real*)Min)[ 2] =
((Standard_Real*)Min)[ 3] =
((Standard_Real*)Min)[ 4] =
((Standard_Real*)Min)[ 5] =
((Standard_Real*)Min)[ 6] =
((Standard_Real*)Min)[ 7] =
((Standard_Real*)Min)[ 8] =
((Standard_Real*)Min)[ 9] =
((Standard_Real*)Min)[10] =
((Standard_Real*)Min)[11] =
((Standard_Real*)Min)[12] =
((Standard_Real*)Min)[13] =
((Standard_Real*)Min)[14] =
((Standard_Real*)Min)[15] = Big;
((Standard_Real*)Max)[ 0] =
((Standard_Real*)Max)[ 1] =
((Standard_Real*)Max)[ 2] =
((Standard_Real*)Max)[ 3] =
((Standard_Real*)Max)[ 4] =
((Standard_Real*)Max)[ 5] =
((Standard_Real*)Max)[ 6] =
((Standard_Real*)Max)[ 7] =
((Standard_Real*)Max)[ 8] =
((Standard_Real*)Max)[ 9] =
((Standard_Real*)Max)[10] =
((Standard_Real*)Max)[11] =
((Standard_Real*)Max)[12] =
((Standard_Real*)Max)[13] =
((Standard_Real*)Max)[14] =
((Standard_Real*)Max)[15] = -Big;
Standard_Integer i = 0;
while (i < 16)
{
((Standard_Real*)Min)[i] = Big;
((Standard_Real*)Max)[i] = -Big;
i++;
}
}
//=======================================================================
@@ -176,8 +100,8 @@ void HLRAlgo::InitMinMax (const Standard_Real Big,
//=======================================================================
void HLRAlgo::EncodeMinMax (const Standard_Address Min,
const Standard_Address Max,
const Standard_Address MM)
const Standard_Address Max,
const Standard_Address MM)
{
((Standard_Integer*)MM)[ 0] = ((Standard_Integer*)Min)[ 1]&0x00007fff;
((Standard_Integer*)MM)[ 8] = ((Standard_Integer*)Max)[ 1]&0x00007fff;
@@ -218,24 +142,16 @@ void HLRAlgo::EncodeMinMax (const Standard_Address Min,
//purpose :
//=======================================================================
Standard_Real HLRAlgo::SizeBox(const Standard_Address Min,
const Standard_Address Max)
Standard_Real HLRAlgo::SizeBox(const Standard_Address Min,
const Standard_Address Max)
{
Standard_Real s;
s = ((Standard_Integer *)Max)[ 0] - ((Standard_Integer *)Min)[ 0];
s *= ((Standard_Integer *)Max)[ 1] - ((Standard_Integer *)Min)[ 1];
s *= ((Standard_Integer *)Max)[ 2] - ((Standard_Integer *)Min)[ 2];
s *= ((Standard_Integer *)Max)[ 3] - ((Standard_Integer *)Min)[ 3];
s *= ((Standard_Integer *)Max)[ 4] - ((Standard_Integer *)Min)[ 4];
s *= ((Standard_Integer *)Max)[ 5] - ((Standard_Integer *)Min)[ 5];
s *= ((Standard_Integer *)Max)[ 6] - ((Standard_Integer *)Min)[ 6];
s *= ((Standard_Integer *)Max)[ 7] - ((Standard_Integer *)Min)[ 7];
s *= ((Standard_Integer *)Max)[ 8] - ((Standard_Integer *)Min)[ 8];
s *= ((Standard_Integer *)Max)[ 9] - ((Standard_Integer *)Min)[ 9];
s *= ((Standard_Integer *)Max)[10] - ((Standard_Integer *)Min)[10];
s *= ((Standard_Integer *)Max)[11] - ((Standard_Integer *)Min)[11];
s *= ((Standard_Integer *)Max)[12] - ((Standard_Integer *)Min)[12];
s *= ((Standard_Integer *)Max)[13] - ((Standard_Integer *)Min)[13];
Standard_Real s = ((Standard_Integer *)Max)[0] - ((Standard_Integer *)Min)[0];
Standard_Integer i = 1;
while (i < 14)
{
s *= ((Standard_Integer *)Max)[i] - ((Standard_Integer *)Min)[i];
i++;
}
return s;
}
@@ -245,8 +161,8 @@ Standard_Real HLRAlgo::SizeBox(const Standard_Address Min,
//=======================================================================
void HLRAlgo::DecodeMinMax (const Standard_Address MM,
const Standard_Address Min,
const Standard_Address Max)
const Standard_Address Min,
const Standard_Address Max)
{
((Standard_Integer*)Min)[ 0]=(((Standard_Integer*)MM)[ 0]&0x7fff0000)>>16;
((Standard_Integer*)Max)[ 0]=(((Standard_Integer*)MM)[ 8]&0x7fff0000)>>16;
@@ -288,42 +204,17 @@ void HLRAlgo::DecodeMinMax (const Standard_Address MM,
//=======================================================================
void HLRAlgo::CopyMinMax (const Standard_Address IMin,
const Standard_Address IMax,
const Standard_Address OMin,
const Standard_Address OMax)
const Standard_Address IMax,
const Standard_Address OMin,
const Standard_Address OMax)
{
((Standard_Integer*)OMin)[ 0]=((Standard_Integer*)IMin)[ 0];
((Standard_Integer*)OMax)[ 0]=((Standard_Integer*)IMax)[ 0];
((Standard_Integer*)OMin)[ 1]=((Standard_Integer*)IMin)[ 1];
((Standard_Integer*)OMax)[ 1]=((Standard_Integer*)IMax)[ 1];
((Standard_Integer*)OMin)[ 2]=((Standard_Integer*)IMin)[ 2];
((Standard_Integer*)OMax)[ 2]=((Standard_Integer*)IMax)[ 2];
((Standard_Integer*)OMin)[ 3]=((Standard_Integer*)IMin)[ 3];
((Standard_Integer*)OMax)[ 3]=((Standard_Integer*)IMax)[ 3];
((Standard_Integer*)OMin)[ 4]=((Standard_Integer*)IMin)[ 4];
((Standard_Integer*)OMax)[ 4]=((Standard_Integer*)IMax)[ 4];
((Standard_Integer*)OMin)[ 5]=((Standard_Integer*)IMin)[ 5];
((Standard_Integer*)OMax)[ 5]=((Standard_Integer*)IMax)[ 5];
((Standard_Integer*)OMin)[ 6]=((Standard_Integer*)IMin)[ 6];
((Standard_Integer*)OMax)[ 6]=((Standard_Integer*)IMax)[ 6];
((Standard_Integer*)OMin)[ 7]=((Standard_Integer*)IMin)[ 7];
((Standard_Integer*)OMax)[ 7]=((Standard_Integer*)IMax)[ 7];
((Standard_Integer*)OMin)[ 8]=((Standard_Integer*)IMin)[ 8];
((Standard_Integer*)OMax)[ 8]=((Standard_Integer*)IMax)[ 8];
((Standard_Integer*)OMin)[ 9]=((Standard_Integer*)IMin)[ 9];
((Standard_Integer*)OMax)[ 9]=((Standard_Integer*)IMax)[ 9];
((Standard_Integer*)OMin)[10]=((Standard_Integer*)IMin)[10];
((Standard_Integer*)OMax)[10]=((Standard_Integer*)IMax)[10];
((Standard_Integer*)OMin)[11]=((Standard_Integer*)IMin)[11];
((Standard_Integer*)OMax)[11]=((Standard_Integer*)IMax)[11];
((Standard_Integer*)OMin)[12]=((Standard_Integer*)IMin)[12];
((Standard_Integer*)OMax)[12]=((Standard_Integer*)IMax)[12];
((Standard_Integer*)OMin)[13]=((Standard_Integer*)IMin)[13];
((Standard_Integer*)OMax)[13]=((Standard_Integer*)IMax)[13];
((Standard_Integer*)OMin)[14]=((Standard_Integer*)IMin)[14];
((Standard_Integer*)OMax)[14]=((Standard_Integer*)IMax)[14];
((Standard_Integer*)OMin)[15]=((Standard_Integer*)IMin)[15];
((Standard_Integer*)OMax)[15]=((Standard_Integer*)IMax)[15];
Standard_Integer i = 0;
while (i < 16)
{
((Standard_Integer*)OMin)[i]=((Standard_Integer*)IMin)[i];
((Standard_Integer*)OMax)[i]=((Standard_Integer*)IMax)[i];
i++;
}
}
//=======================================================================
@@ -332,73 +223,17 @@ void HLRAlgo::CopyMinMax (const Standard_Address IMin,
//=======================================================================
void HLRAlgo::AddMinMax (const Standard_Address IMin,
const Standard_Address IMax,
const Standard_Address OMin,
const Standard_Address OMax)
const Standard_Address IMax,
const Standard_Address OMin,
const Standard_Address OMax)
{
if (((Standard_Integer*)OMin)[ 0] > ((Standard_Integer*)IMin)[ 0])
((Standard_Integer*)OMin)[ 0]=((Standard_Integer*)IMin)[ 0];
if (((Standard_Integer*)OMax)[ 0] < ((Standard_Integer*)IMax)[ 0])
((Standard_Integer*)OMax)[ 0]=((Standard_Integer*)IMax)[ 0];
if (((Standard_Integer*)OMin)[ 1] > ((Standard_Integer*)IMin)[ 1])
((Standard_Integer*)OMin)[ 1]=((Standard_Integer*)IMin)[ 1];
if (((Standard_Integer*)OMax)[ 1] < ((Standard_Integer*)IMax)[ 1])
((Standard_Integer*)OMax)[ 1]=((Standard_Integer*)IMax)[ 1];
if (((Standard_Integer*)OMin)[ 2] > ((Standard_Integer*)IMin)[ 2])
((Standard_Integer*)OMin)[ 2]=((Standard_Integer*)IMin)[ 2];
if (((Standard_Integer*)OMax)[ 2] < ((Standard_Integer*)IMax)[ 2])
((Standard_Integer*)OMax)[ 2]=((Standard_Integer*)IMax)[ 2];
if (((Standard_Integer*)OMin)[ 3] > ((Standard_Integer*)IMin)[ 3])
((Standard_Integer*)OMin)[ 3]=((Standard_Integer*)IMin)[ 3];
if (((Standard_Integer*)OMax)[ 3] < ((Standard_Integer*)IMax)[ 3])
((Standard_Integer*)OMax)[ 3]=((Standard_Integer*)IMax)[ 3];
if (((Standard_Integer*)OMin)[ 4] > ((Standard_Integer*)IMin)[ 4])
((Standard_Integer*)OMin)[ 4]=((Standard_Integer*)IMin)[ 4];
if (((Standard_Integer*)OMax)[ 4] < ((Standard_Integer*)IMax)[ 4])
((Standard_Integer*)OMax)[ 4]=((Standard_Integer*)IMax)[ 4];
if (((Standard_Integer*)OMin)[ 5] > ((Standard_Integer*)IMin)[ 5])
((Standard_Integer*)OMin)[ 5]=((Standard_Integer*)IMin)[ 5];
if (((Standard_Integer*)OMax)[ 5] < ((Standard_Integer*)IMax)[ 5])
((Standard_Integer*)OMax)[ 5]=((Standard_Integer*)IMax)[ 5];
if (((Standard_Integer*)OMin)[ 6] > ((Standard_Integer*)IMin)[ 6])
((Standard_Integer*)OMin)[ 6]=((Standard_Integer*)IMin)[ 6];
if (((Standard_Integer*)OMax)[ 6] < ((Standard_Integer*)IMax)[ 6])
((Standard_Integer*)OMax)[ 6]=((Standard_Integer*)IMax)[ 6];
if (((Standard_Integer*)OMin)[ 7] > ((Standard_Integer*)IMin)[ 7])
((Standard_Integer*)OMin)[ 7]=((Standard_Integer*)IMin)[ 7];
if (((Standard_Integer*)OMax)[ 7] < ((Standard_Integer*)IMax)[ 7])
((Standard_Integer*)OMax)[ 7]=((Standard_Integer*)IMax)[ 7];
if (((Standard_Integer*)OMin)[ 8] > ((Standard_Integer*)IMin)[ 8])
((Standard_Integer*)OMin)[ 8]=((Standard_Integer*)IMin)[ 8];
if (((Standard_Integer*)OMax)[ 8] < ((Standard_Integer*)IMax)[ 8])
((Standard_Integer*)OMax)[ 8]=((Standard_Integer*)IMax)[ 8];
if (((Standard_Integer*)OMin)[ 9] > ((Standard_Integer*)IMin)[ 9])
((Standard_Integer*)OMin)[ 9]=((Standard_Integer*)IMin)[ 9];
if (((Standard_Integer*)OMax)[ 9] < ((Standard_Integer*)IMax)[ 9])
((Standard_Integer*)OMax)[ 9]=((Standard_Integer*)IMax)[ 9];
if (((Standard_Integer*)OMin)[10] > ((Standard_Integer*)IMin)[10])
((Standard_Integer*)OMin)[10]=((Standard_Integer*)IMin)[10];
if (((Standard_Integer*)OMax)[10] < ((Standard_Integer*)IMax)[10])
((Standard_Integer*)OMax)[10]=((Standard_Integer*)IMax)[10];
if (((Standard_Integer*)OMin)[11] > ((Standard_Integer*)IMin)[11])
((Standard_Integer*)OMin)[11]=((Standard_Integer*)IMin)[11];
if (((Standard_Integer*)OMax)[11] < ((Standard_Integer*)IMax)[11])
((Standard_Integer*)OMax)[11]=((Standard_Integer*)IMax)[11];
if (((Standard_Integer*)OMin)[12] > ((Standard_Integer*)IMin)[12])
((Standard_Integer*)OMin)[12]=((Standard_Integer*)IMin)[12];
if (((Standard_Integer*)OMax)[12] < ((Standard_Integer*)IMax)[12])
((Standard_Integer*)OMax)[12]=((Standard_Integer*)IMax)[12];
if (((Standard_Integer*)OMin)[13] > ((Standard_Integer*)IMin)[13])
((Standard_Integer*)OMin)[13]=((Standard_Integer*)IMin)[13];
if (((Standard_Integer*)OMax)[13] < ((Standard_Integer*)IMax)[13])
((Standard_Integer*)OMax)[13]=((Standard_Integer*)IMax)[13];
if (((Standard_Integer*)OMin)[14] > ((Standard_Integer*)IMin)[14])
((Standard_Integer*)OMin)[14]=((Standard_Integer*)IMin)[14];
if (((Standard_Integer*)OMax)[14] < ((Standard_Integer*)IMax)[14])
((Standard_Integer*)OMax)[14]=((Standard_Integer*)IMax)[14];
if (((Standard_Integer*)OMin)[15] > ((Standard_Integer*)IMin)[15])
((Standard_Integer*)OMin)[15]=((Standard_Integer*)IMin)[15];
if (((Standard_Integer*)OMax)[15] < ((Standard_Integer*)IMax)[15])
((Standard_Integer*)OMax)[15]=((Standard_Integer*)IMax)[15];
Standard_Integer i = 0;
while (i < 16)
{
if (((Standard_Integer*)OMin)[i] > ((Standard_Integer*)IMin)[i])
((Standard_Integer*)OMin)[i]=((Standard_Integer*)IMin)[i];
if (((Standard_Integer*)OMax)[i] < ((Standard_Integer*)IMax)[i])
((Standard_Integer*)OMax)[i]=((Standard_Integer*)IMax)[i];
i++;
}
}

View File

@@ -1,8 +1,7 @@
-- File: HLRAlgo_BiPoint.cdl
-- Created: Thu Jun 22 12:28:58 1995
-- Author: Christophe MARION
-- <cma@ecolox>
---Copyright: Matra Datavision 1995
-- File: HLRAlgo_BiPoint.cdl
-- Created: Thu Jun 22 12:28:58 1995
-- Author: Christophe MARION
---Copyright: Matra Datavision 1995
class BiPoint from HLRAlgo

View File

@@ -1,7 +1,8 @@
// File: HLRAlgo_BiPoint.cxx
// Created: Thu Jun 22 12:31:58 1995
// Author: Christophe MARION
// <cma@ecolox>
// File: HLRAlgo_BiPoint.cxx
// Created: Thu Jun 22 12:31:58 1995
// Author: Christophe MARION
// Copyright: OPEN CASCADE 2000
#ifndef No_Exception
#define No_Exception
#endif
@@ -315,4 +316,3 @@ HLRAlgo_BiPoint::HLRAlgo_BiPoint (const Standard_Real X1,
SegFlags = flag;
Hidden(Standard_False);
}

View File

@@ -1,7 +1,7 @@
// File: HLRAlgo_BiPoint.lxx
// Created: Thu Jun 22 12:35:03 1995
// Author: Christophe MARION
// <cma@ecolox>
// File: HLRAlgo_BiPoint.lxx
// Created: Thu Jun 22 12:35:03 1995
// Author: Christophe MARION
// Copyright: OPEN CASCADE 2000
#define EMskRg1Line ((Standard_Boolean)1)
#define EMskRgNLine ((Standard_Boolean)2)
@@ -128,4 +128,3 @@ inline Standard_Address HLRAlgo_BiPoint::Indices () const
inline Standard_Address HLRAlgo_BiPoint::Coordinates () const
{ return (Standard_Address)myCoordinates; }

View File

@@ -1,8 +1,7 @@
-- File: Coincidence.cdl
-- Created: Thu Aug 20 18:06:13 1992
-- Author: Christophe MARION
-- <cma@sdsun1>
---Copyright: Matra Datavision 1992
-- File: HLRAlgo_Coincidence.cdl
-- Created: Thu Aug 20 18:06:13 1992
-- Author: Christophe MARION
---Copyright: Matra Datavision 1992
class Coincidence from HLRAlgo

View File

@@ -1,7 +1,7 @@
// File: HLRAlgo_Coincidence.cxx
// Created: Wed Feb 19 14:31:45 1992
// Author: Christophe MARION
// <cma@sdsun2>
// File: HLRAlgo_Coincidence.cxx
// Created: Wed Feb 19 14:31:45 1992
// Author: Christophe MARION
// Copyright: OPEN CASCADE 2000
#include <HLRAlgo_Coincidence.ixx>
@@ -11,6 +11,9 @@
//=======================================================================
HLRAlgo_Coincidence::HLRAlgo_Coincidence()
: myFE(0),
myParam(0.),
myStBef(TopAbs_IN),
myStAft(TopAbs_IN)
{
}

View File

@@ -1,7 +1,7 @@
// File: HLRAlgo_Coincidence.lxx
// Created: Wed Feb 19 14:31:45 1992
// Author: Christophe MARION
// <cma@sdsun2>
// File: HLRAlgo_Coincidence.lxx
// Created: Wed Feb 19 14:31:45 1992
// Author: Christophe MARION
// Copyright: OPEN CASCADE 2000
//=======================================================================
//function : Set2D
@@ -52,4 +52,3 @@ inline void HLRAlgo_Coincidence::State3D
stbef = myStBef;
staft = myStAft;
}

View File

@@ -1,8 +1,7 @@
-- File: HLRAlgo_EdgeIterator.cdl
-- Created: Mon Jan 11 13:58:26 1993
-- Author: Christophe MARION
-- <cma@sdsun1>
---Copyright: Matra Datavision 1993
-- File: HLRAlgo_EdgeIterator.cdl
-- Created: Mon Jan 11 13:58:26 1993
-- Author: Christophe MARION
---Copyright: Matra Datavision 1993
class EdgeIterator from HLRAlgo

View File

@@ -1,7 +1,8 @@
// File: HLRAlgo_EdgeIterator.cxx
// Created: Mon Jan 11 13:58:26 1993
// Author: Christophe MARION
// <cma@sdsun1>
// File: HLRAlgo_EdgeIterator.cxx
// Created: Mon Jan 11 13:58:26 1993
// Author: Christophe MARION
// Copyright: OPEN CASCADE 2000
#ifndef No_Exception
#define No_Exception
#endif
@@ -66,4 +67,3 @@ void HLRAlgo_EdgeIterator::NextHidden ()
(iHid,myHidEnd,myHidTolEnd,B1,B2);
}
}

View File

@@ -1,7 +1,7 @@
// File: HLRAlgo_EdgeIterator.lxx
// Created: Mon Jan 11 13:58:26 1993
// Author: Christophe MARION
// <cma@sdsun1>
// File: HLRAlgo_EdgeIterator.lxx
// Created: Mon Jan 11 13:58:26 1993
// Author: Christophe MARION
// Copyright: OPEN CASCADE 2000
#include <HLRAlgo_EdgeStatus.hxx>
@@ -73,4 +73,3 @@ HLRAlgo_EdgeIterator::Visible (Standard_Real& Start,
((HLRAlgo_EdgeStatus*)EVis)->VisiblePart
(iVis,Start,TolStart,End,TolEnd);
}

View File

@@ -1,8 +1,7 @@
-- File: EdgeStatus.cdl
-- Created: Tue Feb 18 10:36:07 1992
-- Author: Christophe MARION
-- <cma@sdsun1>
---Copyright: Matra Datavision 1992
-- File: HLRAlgo_EdgeStatus.cdl
-- Created: Tue Feb 18 10:36:07 1992
-- Author: Christophe MARION
---Copyright: Matra Datavision 1992
class EdgeStatus from HLRAlgo

View File

@@ -1,7 +1,8 @@
// File: HLRAlgo_EdgeStatus.cxx
// Created: Tue Feb 18 11:30:23 1992
// Author: Christophe MARION
// <cma@sdsun1>
// File: HLRAlgo_EdgeStatus.cxx
// Created: Tue Feb 18 11:30:23 1992
// Author: Christophe MARION
// Copyright: OPEN CASCADE 2000
#ifndef No_Exception
#define No_Exception
#endif
@@ -100,4 +101,3 @@ void HLRAlgo_EdgeStatus::Hide (const Standard_Real Start ,
if (!AllHidden()) AllHidden(myVisibles.NbIntervals() == 0);
}
}

View File

@@ -1,7 +1,7 @@
// File: HLRAlgo_EdgeStatus.lxx
// Created: Tue Feb 18 11:30:12 1992
// Author: Christophe MARION
// <cma@sdsun1>
// File: HLRAlgo_EdgeStatus.lxx
// Created: Tue Feb 18 11:30:12 1992
// Author: Christophe MARION
// Copyright: OPEN CASCADE 2000
#define EMaskAllHidden ((Standard_Boolean)1)
#define EMaskAllVisible ((Standard_Boolean)2)
@@ -80,4 +80,3 @@ inline void HLRAlgo_EdgeStatus::AllVisible (const Standard_Boolean B)
if (B) myFlags |= EMaskAllVisible;
else myFlags &= ~EMaskAllVisible;
}

View File

@@ -1,8 +1,7 @@
-- File: HLRAlgo_EdgesBlock.cdl
-- Created: Mon Apr 6 17:57:45 1992
-- Author: Christophe MARION
-- <cma@sdsun2>
---Copyright: Matra Datavision 1992
-- File: HLRAlgo_EdgesBlock.cdl
-- Created: Mon Apr 6 17:57:45 1992
-- Author: Christophe MARION
---Copyright: Matra Datavision 1992
class EdgesBlock from HLRAlgo inherits TShared from MMgt

View File

@@ -1,7 +1,8 @@
// File: HLRAlgo_EdgesBlock.cxx
// Created: Fri Mar 27 17:08:48 1992
// Author: Christophe MARION
// <cma@sdsun2>
// File: HLRAlgo_EdgesBlock.cxx
// Created: Fri Mar 27 17:08:48 1992
// Author: Christophe MARION
// Copyright: OPEN CASCADE 2000
#ifndef No_Exception
#define No_Exception
#endif
@@ -26,4 +27,3 @@ void HLRAlgo_EdgesBlock::UpdateMinMax (const Standard_Address TotMinMax)
for (Standard_Integer i = 0; i <= 15; i++)
myMinMax[i] = ((Standard_Integer*)TotMinMax)[i];
}

View File

@@ -1,7 +1,7 @@
// File: HLRAlgo_EdgesBlock.lxx
// Created: Thu Apr 20 11:31:26 1995
// Author: Christophe MARION
// <cma@ecolox>
// File: HLRAlgo_EdgesBlock.lxx
// Created: Thu Apr 20 11:31:26 1995
// Author: Christophe MARION
// Copyright: OPEN CASCADE 2000
#define EMaskOrient ((Standard_Boolean)15)
#define EMaskOutLine ((Standard_Boolean)16)
@@ -166,4 +166,3 @@ inline void HLRAlgo_EdgesBlock::IsoLine (const Standard_Integer I,
inline Standard_Address HLRAlgo_EdgesBlock::MinMax () const
{ return (Standard_Address)&myMinMax; }

View File

@@ -1,8 +1,7 @@
-- File: Intersection.cdl
-- Created: Fri Aug 21 10:41:54 1992
-- Author: Christophe MARION
-- <cma@sdsun1>
---Copyright: Matra Datavision 1992
-- File: HLRAlgo_Intersection.cdl
-- Created: Fri Aug 21 10:41:54 1992
-- Author: Christophe MARION
---Copyright: Matra Datavision 1992
class Intersection from HLRAlgo

View File

@@ -1,7 +1,7 @@
// File: HLRAlgo_Intersection.cxx
// Created: Wed Feb 19 14:22:05 1992
// Author: Christophe MARION
// <cma@sdsun2>
// File: HLRAlgo_Intersection.cxx
// Created: Wed Feb 19 14:22:05 1992
// Author: Christophe MARION
// Copyright: OPEN CASCADE 2000
#include <HLRAlgo_Intersection.ixx>
@@ -34,4 +34,3 @@ HLRAlgo_Intersection::HLRAlgo_Intersection
myToler(Tol),
myState(S)
{}

View File

@@ -1,7 +1,7 @@
// File: HLRAlgo_Intersection.lxx
// Created: Wed Feb 19 14:21:57 1992
// Author: Christophe MARION
// <cma@sdsun2>
// File: HLRAlgo_Intersection.lxx
// Created: Wed Feb 19 14:21:57 1992
// Author: Christophe MARION
// Copyright: OPEN CASCADE 2000
//=======================================================================
//function : Orientation
@@ -114,4 +114,3 @@ inline void HLRAlgo_Intersection::State (const TopAbs_State St)
inline TopAbs_State HLRAlgo_Intersection::State() const
{ return myState; }

View File

@@ -1,8 +1,7 @@
-- File: HLRAlgo_PolyAlgo.cdl
-- Created: Tue Feb 18 10:36:07 1992
-- Author: Christophe MARION
-- <cma@sdsun1>
---Copyright: Matra Datavision 1992
-- File: HLRAlgo_PolyAlgo.cdl
-- Created: Tue Feb 18 10:36:07 1992
-- Author: Christophe MARION
---Copyright: Matra Datavision 1992
class PolyAlgo from HLRAlgo inherits TShared from MMgt

View File

@@ -1,7 +1,8 @@
// File: HLRAlgo_PolyAlgo.cxx
// Created: Fri May 5 15:58:19 1995
// Author: Christophe MARION
// <cma@ecolox>
// File: HLRAlgo_PolyAlgo.cxx
// Created: Fri May 5 15:58:19 1995
// Author: Christophe MARION
// Copyright: OPEN CASCADE 2000
#ifndef No_Exception
//#define No_Exception
#endif
@@ -219,11 +220,7 @@ void HLRAlgo_PolyAlgo::Update ()
Standard_Real X1,X2,X3,Y1,Y2,Y3,Z1,Z2,Z3;
Standard_Real dn,dnx,dny,dnz,dx1,dy1,dz1,dx2,dy2,dz2,dx3,dy3;
Standard_Real adx1,ady1,adx2,ady2,adx3,ady3;
#ifndef DEB
Standard_Real a =0.,b =0.,c =0.,d =0.;
#else
Standard_Real a,b,c,d;
#endif
const Standard_Address PolyTIndices = (*pd)->Indices();
TColgp_Array1OfXYZ & Nodes = (*pd)->Nodes();
HLRAlgo_Array1OfTData& TData = (*pd)->TData();

View File

@@ -1,7 +1,7 @@
// File: HLRAlgo_PolyAlgo.lxx
// Created: Tue Jun 20 11:50:07 1995
// Author: Christophe MARION
// <cma@ecolox>
// File: HLRAlgo_PolyAlgo.lxx
// Created: Tue Jun 20 11:50:07 1995
// Author: Christophe MARION
// Copyright: OPEN CASCADE 2000
#include <TColStd_HArray1OfTransient.hxx>

View File

@@ -1,8 +1,7 @@
-- File: HLRAlgo_PolyData.cdl
-- Created: Fri Oct 29 15:19:08 1993
-- Author: Christophe MARION
-- <cma@nonox>
---Copyright: Matra Datavision 1993
-- File: HLRAlgo_PolyData.cdl
-- Created: Fri Oct 29 15:19:08 1993
-- Author: Christophe MARION
---Copyright: Matra Datavision 1993
class PolyData from HLRAlgo inherits TShared from MMgt

View File

@@ -1,7 +1,8 @@
// File: HLRAlgo_PolyData.cxx
// Created: Mon Jan 11 13:58:26 1993
// Author: Christophe MARION
// <cma@sdsun1>
// File: HLRAlgo_PolyData.cxx
// Created: Mon Jan 11 13:58:26 1993
// Author: Christophe MARION
// Copyright: OPEN CASCADE 2000
#ifndef No_Exception
//#define No_Exception
#endif
@@ -807,4 +808,3 @@ HideByOneTriangle (const Standard_Address Coordinates,
else status.Hide(psta,(Standard_ShortReal)TolParam,pend,(Standard_ShortReal)TolParam,
Standard_False,Standard_False);
}

View File

@@ -1,8 +1,7 @@
// File: HLRAlgo_PolyData.lxx
// Created: Mon Jan 11 13:58:26 1993
// Author: Christophe MARION
// <cma@sdsun1>
// File: HLRAlgo_PolyData.lxx
// Created: Mon Jan 11 13:58:26 1993
// Author: Christophe MARION
// Copyright: OPEN CASCADE 2000
#include <TColgp_HArray1OfXYZ.hxx>
#include <HLRAlgo_HArray1OfTData.hxx>
@@ -68,4 +67,3 @@ inline Standard_Boolean HLRAlgo_PolyData::Hiding () const
inline Standard_Address HLRAlgo_PolyData::Indices ()
{ return (Standard_Address)myIndices; }

View File

@@ -1,8 +1,7 @@
-- File: HLRAlgo_PolyHidingData.cdl
-- Created: Fri Oct 29 15:19:08 1993
-- Author: Christophe MARION
-- <cma@nonox>
---Copyright: Matra Datavision 1993
-- File: HLRAlgo_PolyHidingData.cdl
-- Created: Fri Oct 29 15:19:08 1993
-- Author: Christophe MARION
---Copyright: Matra Datavision 1993
class PolyHidingData from HLRAlgo

View File

@@ -1,7 +1,6 @@
// File: HLRAlgo_PolyHidingData.cxx
// Created: Wed Jun 21 19:23:39 1995
// Author: Christophe MARION
// <cma@ecolox>
// File: HLRAlgo_PolyHidingData.cxx
// Created: Wed Jun 21 19:23:39 1995
// Author: Christophe MARION
// Copyright: OPEN CASCADE 2000
#include <HLRAlgo_PolyHidingData.ixx>

View File

@@ -1,7 +1,7 @@
// File: HLRAlgo_PolyHidingData.lxx
// Created: Wed Jun 21 19:29:59 1995
// Author: Christophe MARION
// <cma@ecolox>
// File: HLRAlgo_PolyHidingData.lxx
// Created: Wed Jun 21 19:29:59 1995
// Author: Christophe MARION
// Copyright: OPEN CASCADE 2000
//=======================================================================
//function : PolyHidingData
@@ -51,4 +51,3 @@ HLRAlgo_PolyHidingData::IndexAndMinMax() const
inline Standard_Address
HLRAlgo_PolyHidingData::Plan() const
{ return (Standard_Address)myPlan; }

View File

@@ -1,8 +1,7 @@
-- File: HLRAlgo_PolyInternalData.cdl
-- Created: Fri Oct 29 15:19:08 1993
-- Author: Christophe MARION
-- <cma@nonox>
---Copyright: Matra Datavision 1993
-- File: HLRAlgo_PolyInternalData.cdl
-- Created: Fri Oct 29 15:19:08 1993
-- Author: Christophe MARION
---Copyright: Matra Datavision 1993
class PolyInternalData from HLRAlgo inherits TShared from MMgt

View File

@@ -1,7 +1,7 @@
// File: HLRAlgo_PolyInternalData.cxx
// Created: Tue Jul 11 16:59:46 1995
// Author: Christophe MARION
// <cma@ecolox>
// File: HLRAlgo_PolyInternalData.cxx
// Created: Tue Jul 11 16:59:46 1995
// Author: Christophe MARION
// Copyright: OPEN CASCADE 2000
#include <Standard_Stream.hxx>
#include <HLRAlgo_PolyInternalData.ixx>
@@ -917,4 +917,3 @@ IncPINod (Standard_Address& PINod1,
}
myNbPINod++;
}

View File

@@ -1,7 +1,7 @@
// File: HLRAlgo_PolyInternalData.lxx
// Created: Mon Jan 11 13:58:26 1993
// Author: Christophe MARION
// <cma@sdsun1>
// File: HLRAlgo_PolyInternalData.lxx
// Created: Mon Jan 11 13:58:26 1993
// Author: Christophe MARION
// Copyright: OPEN CASCADE 2000
#include <TColStd_HArray1OfInteger.hxx>
#include <TColStd_HArray1OfBoolean.hxx>
@@ -126,4 +126,3 @@ HLRAlgo_PolyInternalData::PINod () const
inline HLRAlgo_Array1OfPISeg &
HLRAlgo_PolyInternalData::PISeg () const
{ return myPISeg->ChangeArray1(); }

View File

@@ -1,8 +1,7 @@
-- File: HLRAlgo_PolyInternalNode.cdl
-- Created: Fri Jan 10 22:23:38 1997
-- Author: Christophe MARION
-- <cma@partox.paris1.matra-dtv.fr>
---Copyright: Matra Datavision 1997
-- File: HLRAlgo_PolyInternalNode.cdl
-- Created: Fri Jan 10 22:23:38 1997
-- Author: Christophe MARION
---Copyright: Matra Datavision 1997
class PolyInternalNode from HLRAlgo inherits TShared from MMgt

View File

@@ -1,6 +1,6 @@
// File: HLRAlgo_PolyInternalNode.cxx
// Created: Fri Jan 10 22:25:33 1997
// Author: Christophe MARION
// <cma@partox.paris1.matra-dtv.fr>
// File: HLRAlgo_PolyInternalNode.cxx
// Created: Fri Jan 10 22:25:33 1997
// Author: Christophe MARION
// Copyright: OPEN CASCADE 2000
#include <HLRAlgo_PolyInternalNode.ixx>

View File

@@ -1,7 +1,7 @@
// File: HLRAlgo_PolyInternalNode.lxx
// Created: Fri Jan 10 22:25:51 1997
// Author: Christophe MARION
// <cma@partox.paris1.matra-dtv.fr>
// File: HLRAlgo_PolyInternalNode.lxx
// Created: Fri Jan 10 22:25:51 1997
// Author: Christophe MARION
// Copyright: OPEN CASCADE 2000
//=======================================================================
//function : HLRAlgo_PolyInternalNode
@@ -31,4 +31,3 @@ inline Standard_Address HLRAlgo_PolyInternalNode::Indices () const
inline Standard_Address HLRAlgo_PolyInternalNode::RValues () const
{ return (Standard_Address)myRValues; }

View File

@@ -1,8 +1,7 @@
-- File: HLRAlgo_PolyInternalSegment.cdl
-- Created: Tue Dec 3 17:00:57 1996
-- Author: Christophe MARION
-- <cma@partox.paris1.matra-dtv.fr>
---Copyright: Matra Datavision 1996
-- File: HLRAlgo_PolyInternalSegment.cdl
-- Created: Tue Dec 3 17:00:57 1996
-- Author: Christophe MARION
---Copyright: Matra Datavision 1996
class PolyInternalSegment from HLRAlgo

View File

@@ -1,7 +1,6 @@
// File: HLRAlgo_PolyInternalSegment.cxx
// Created: Tue Dec 3 17:23:48 1996
// Author: Christophe MARION
// <cma@partox.paris1.matra-dtv.fr>
// File: HLRAlgo_PolyInternalSegment.cxx
// Created: Tue Dec 3 17:23:48 1996
// Author: Christophe MARION
// Copyright: OPEN CASCADE 2000
#include <HLRAlgo_PolyInternalSegment.ixx>

View File

@@ -1,7 +1,7 @@
// File: HLRAlgo_PolyInternalSegment.lxx
// Created: Tue Dec 3 17:09:42 1996
// Author: Christophe MARION
// <cma@partox.paris1.matra-dtv.fr>
// File: HLRAlgo_PolyInternalSegment.lxx
// Created: Tue Dec 3 17:09:42 1996
// Author: Christophe MARION
// Copyright: OPEN CASCADE 2000
//=======================================================================
//function : HLRAlgo_PolyInternalSegment
@@ -18,4 +18,3 @@ inline HLRAlgo_PolyInternalSegment::HLRAlgo_PolyInternalSegment ()
inline Standard_Address HLRAlgo_PolyInternalSegment::Indices () const
{ return (Standard_Address)myIndices; }

View File

@@ -1,8 +1,7 @@
-- File: HLRAlgo_PolyShellData.cdl
-- Created: Fri Oct 29 15:19:08 1993
-- Author: Christophe MARION
-- <cma@nonox>
---Copyright: Matra Datavision 1993
-- File: HLRAlgo_PolyShellData.cdl
-- Created: Fri Oct 29 15:19:08 1993
-- Author: Christophe MARION
---Copyright: Matra Datavision 1993
class PolyShellData from HLRAlgo inherits TShared from MMgt

View File

@@ -1,7 +1,8 @@
// File: HLRAlgo_PolyShellData.cxx
// Created: Fri May 5 15:58:19 1995
// Author: Christophe MARION
// <cma@ecolox>
// File: HLRAlgo_PolyShellData.cxx
// Created: Fri May 5 15:58:19 1995
// Author: Christophe MARION
// Copyright: OPEN CASCADE 2000
#ifndef No_Exception
//#define No_Exception
#endif
@@ -101,4 +102,3 @@ UpdateHiding (const Standard_Integer nbHiding)
myHPolHi = new TColStd_HArray1OfTransient(1,nbHiding);
else myHPolHi.Nullify();
}

View File

@@ -1,7 +1,7 @@
// File: HLRAlgo_PolyShellData.lxx
// Created: Fri May 5 15:58:19 1995
// Author: Christophe MARION
// <cma@ecolox>
// File: HLRAlgo_PolyShellData.lxx
// Created: Fri May 5 15:58:19 1995
// Author: Christophe MARION
// Copyright: OPEN CASCADE 2000
#include <TColStd_HArray1OfTransient.hxx>
@@ -48,4 +48,3 @@ HLRAlgo_PolyShellData::Edges ()
inline Standard_Address HLRAlgo_PolyShellData::Indices ()
{ return (Standard_Address)myMinMax; }

View File

@@ -1,8 +1,7 @@
-- File: HLRAlgo_Projector.cdl
-- Created: Thu Mar 12 13:32:28 1992
-- Author: Christophe MARION
-- <cma@sdsun2>
---Copyright: Matra Datavision 1992
-- File: HLRAlgo_Projector.cdl
-- Created: Thu Mar 12 13:32:28 1992
-- Author: Christophe MARION
---Copyright: Matra Datavision 1992
class Projector from HLRAlgo
---Purpose: Implements a projector object.

View File

@@ -1,7 +1,8 @@
// File: HLRAlgo_Projector.cxx
// Created: Fri Mar 13 11:08:32 1992
// Author: Christophe MARION
// <cma@sdsun2>
// File: HLRAlgo_Projector.cxx
// Created: Fri Mar 13 11:08:32 1992
// Author: Christophe MARION
// Copyright: OPEN CASCADE 2000
#ifndef No_Exception
// #define No_Exception
#endif

View File

@@ -1,7 +1,7 @@
// File: HLRAlgo_Projector.lxx
// Created: Thu Jul 9 12:50:25 1992
// Author: Christophe MARION
// <cma@sdsun1>
// File: HLRAlgo_Projector.lxx
// Created: Thu Jul 9 12:50:25 1992
// Author: Christophe MARION
// Copyright: OPEN CASCADE 2000
#include <Standard_NoSuchObject.hxx>
#include <gp_Vec.hxx>
@@ -81,4 +81,3 @@ inline void HLRAlgo_Projector::Transform (gp_Vec& D) const
inline void HLRAlgo_Projector::Transform (gp_Pnt& Pnt) const
{ Pnt.Transform(myTrsf); }

View File

@@ -1,8 +1,7 @@
-- File: HLRAlgo_TriangleData.cdl
-- Created: Fri Oct 29 15:19:08 1993
-- Author: Christophe MARION
-- <cma@nonox>
---Copyright: Matra Datavision 1993
-- File: HLRAlgo_TriangleData.cdl
-- Created: Fri Oct 29 15:19:08 1993
-- Author: Christophe MARION
---Copyright: Matra Datavision 1993
class TriangleData from HLRAlgo

View File

@@ -1,7 +1,6 @@
// File: HLRAlgo_TriangleData.cxx
// Created: Mon Jan 11 13:58:26 1993
// Author: Christophe MARION
// <cma@sdsun1>
// File: HLRAlgo_TriangleData.cxx
// Created: Mon Jan 11 13:58:26 1993
// Author: Christophe MARION
// Copyright: OPEN CASCADE 2000
#include <HLRAlgo_TriangleData.ixx>

View File

@@ -1,7 +1,7 @@
// File: HLRAlgo_TriangleData.lxx
// Created: Mon Jan 11 13:58:26 1993
// Author: Christophe MARION
// <cma@sdsun1>
// File: HLRAlgo_TriangleData.lxx
// Created: Mon Jan 11 13:58:26 1993
// Author: Christophe MARION
// Copyright: OPEN CASCADE 2000
//=======================================================================
//function : TriangleData
@@ -18,4 +18,3 @@ inline HLRAlgo_TriangleData::HLRAlgo_TriangleData ()
inline Standard_Address HLRAlgo_TriangleData::Indices () const
{ return (Standard_Address)myIndices; }

View File

@@ -1,8 +1,7 @@
-- File: HLRAlgo_WiresBlock.cdl
-- Created: Mon Apr 6 17:56:12 1992
-- Author: Christophe MARION
-- <cma@sdsun2>
---Copyright: Matra Datavision 1992
-- File: HLRAlgo_WiresBlock.cdl
-- Created: Mon Apr 6 17:56:12 1992
-- Author: Christophe MARION
---Copyright: Matra Datavision 1992
class WiresBlock from HLRAlgo inherits TShared from MMgt

View File

@@ -1,7 +1,8 @@
// File: HLRAlgo_WiresBlock.cxx
// Created: Fri Mar 27 17:08:48 1992
// Author: Christophe MARION
// <cma@sdsun2>
// File: HLRAlgo_WiresBlock.cxx
// Created: Fri Mar 27 17:08:48 1992
// Author: Christophe MARION
// Copyright: OPEN CASCADE 2000
#ifndef No_Exception
#define No_Exception
#endif
@@ -52,4 +53,3 @@ void HLRAlgo_WiresBlock::UpdateMinMax (const Standard_Address TotMinMax)
for (Standard_Integer i = 0; i <= 15; i++)
myMinMax[i] = ((Standard_Integer*)TotMinMax)[i];
}

View File

@@ -1,7 +1,7 @@
// File: HLRAlgo_WiresBlock.lxx
// Created: Tue Sep 5 15:11:36 1995
// Author: Christophe MARION
// <cma@ecolox>
// File: HLRAlgo_WiresBlock.lxx
// Created: Tue Sep 5 15:11:36 1995
// Author: Christophe MARION
// Copyright: OPEN CASCADE 2000
//=======================================================================
//function : MinMax
@@ -10,4 +10,3 @@
inline Standard_Address HLRAlgo_WiresBlock::MinMax () const
{ return (Standard_Address)&myMinMax; }