EgtGeomKernel :
- modifiche a sistemazione topologie di intersezioni di curve composite - eliminazione di linee inutili in generale - cambio nome di variabili che nascondono omonime.
This commit is contained in:
+5
-5
@@ -358,10 +358,10 @@ VolZmap::GetDepthWithDexel( const Point3d& ptPLoc, const Vector3d& vtDLoc, doubl
|
||||
while ( ( bOnX && i <= nFi) || ( ! bOnX && j <= nFj)) {
|
||||
|
||||
// Eseguo controllo
|
||||
double dU1, dU2 ;
|
||||
if ( IntersRayDexel( ptP0, vtV0, nGrid, i, j, dU1, dU2)) {
|
||||
dInLen[nGrid] = min( dInLen[nGrid], dU1) ;
|
||||
dOutLen[nGrid] = max( dOutLen[nGrid], dU2) ;
|
||||
double dV1, dV2 ;
|
||||
if ( IntersRayDexel( ptP0, vtV0, nGrid, i, j, dV1, dV2)) {
|
||||
dInLen[nGrid] = min( dInLen[nGrid], dV1) ;
|
||||
dOutLen[nGrid] = max( dOutLen[nGrid], dV2) ;
|
||||
}
|
||||
|
||||
// Calcolo spostamento (a destra o sopra)
|
||||
@@ -447,7 +447,7 @@ VolZmap::GetDepthWithVoxel( const Point3d& ptP, const Vector3d& vtD, double& dIn
|
||||
dInLength = INFINITO ;
|
||||
dOutLength = -INFINITO ;
|
||||
|
||||
int nFirstPosN ;
|
||||
int nFirstPosN = 0 ;
|
||||
for ( int nN = 0; nN < int( vIntersInfo.size()) ; ++ nN) {
|
||||
if ( vIntersInfo[nN].dU > - EPS_SMALL) {
|
||||
nFirstPosN = nN ;
|
||||
|
||||
Reference in New Issue
Block a user