|
@@ -82,12 +82,12 @@ namespace OTSGBCalculate
|
|
|
|
|
|
double dd = 0, ds = 0;
|
|
|
ds = abs(ptParticleCenter.x - ptBParticleCenter.x);
|
|
|
- if (ds < 15 )//recognize these two particle in the same vertical line.
|
|
|
+ if (ds < 15 )//recognize these two particle as in the same vertical line.
|
|
|
{
|
|
|
if (Bottom > TopB)//current particle is on the above
|
|
|
{
|
|
|
dd = Bottom - TopB;
|
|
|
- if (dd < 40)//recognize these two particle in the same vertical string.
|
|
|
+ if (dd < 40)//recognize these two particle as in the same vertical string.
|
|
|
{
|
|
|
return true;
|
|
|
}
|
|
@@ -415,7 +415,7 @@ namespace OTSGBCalculate
|
|
|
}
|
|
|
double dd = 0, ds = 0;
|
|
|
ds = abs(ptParticleCenter.x - ptBParticleCenter.x);
|
|
|
- if (ds < 10 )//认为两个颗粒在一条竖直线上,但不在一起
|
|
|
+ if (ds < 15 )//认为两个颗粒在一条竖直线上,但不在一起
|
|
|
{
|
|
|
if (Bottom > TopB)//current particle is on the above
|
|
|
{
|