EgtGeomKernel 1.9l2 :

- aggiunta DistPointSurfTm
- corretta IntersLineSurfTm
- migliorato IdManager in UpdateMaxId.
This commit is contained in:
Dario Sassi
2018-12-11 09:24:42 +00:00
parent b3d868bcc9
commit 06b8c000fd
7 changed files with 126 additions and 2 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ IntersLineSurfTm( const Point3d& ptL, const Vector3d& vtL, double dLen, const IS
Vector3d vtStep = dLenEff / nStep * vtL ;
INTVECTOR vPrevT ;
for ( int i = 0 ; i < nStep ; ++ i) {
BBox3d b3Box( ptL + i * vtStep, ptL + ( i + 1) * vtStep) ;
BBox3d b3Box( ptStart + i * vtStep, ptStart + ( i + 1) * vtStep) ;
INTVECTOR vT ;
if ( Stm.GetAllTriaOverlapBox( b3Box, vT)) {
for ( auto nT : vT) {