EgtGeomKernel :

- modifiche per RotationMinimizingFrame e RotationXplaneFrame
- aggiornato calcolo superfici TriMesh da Swept di curva o di regione.
This commit is contained in:
Dario Sassi
2024-04-05 16:55:20 +02:00
parent 015065f3c8
commit 2bd53476ca
7 changed files with 538 additions and 467 deletions
+4
View File
@@ -169,6 +169,10 @@ Vector3d::ToSpherical( double* pdLen, double* pdAngVertDeg, double* pdAngOrizzDe
bool
Vector3d::Normalize( double dEps)
{
// verifico validità
if ( ! IsValid())
return false ;
// se già normalizzato, ok
double dSqLen = x * x + y * y + z * z ;
if ( abs( 1.0 - dSqLen) < ( 2 * 1000 * DBL_EPSILON))