EgtGeomKernel 1.9j5 :

- in CAvToolTriangle aggiunta gestione movimenti generici.
This commit is contained in:
Dario Sassi
2018-10-25 18:32:37 +00:00
parent fc00d6273a
commit cee2ae0c77
4 changed files with 706 additions and 39 deletions
+2 -2
View File
@@ -1610,8 +1610,8 @@ LineTorus( const Point3d& ptLine, const Vector3d& vtLine,
const Point3d& ptOTorus, const Vector3d& vtAxTorus, double dMinRad, double dMaxRad,
BOOLVECTOR& vbType, DBLVECTOR& vdPar)
{
// I Raggi devono essere positivi e sufficientemente diversi
if ( dMinRad < EPS_SMALL || dMaxRad < dMinRad + EPS_SMALL)
// I Raggi devono essere positiv
if ( dMinRad < EPS_SMALL || dMaxRad < EPS_SMALL)
return T_ERROR ;
// Si richiede che i vettori siano normalizzati
if ( ! vtAxTorus.IsNormalized() || ! vtLine.IsNormalized())