mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-24 16:55:38 +05:00
Fix the plane vector
This commit is contained in:
parent
869b4c84f2
commit
ba27d23aec
@ -13294,7 +13294,7 @@ void SMESH_MeshEditor::MakePolyLine( TListOfPolySegments& theSegments,
|
||||
double maxDist = 0;
|
||||
for ( size_t iP = 1; iP < path.myPoints.size(); ++iP )
|
||||
{
|
||||
double dist = theSegments[iSeg].myVector * ( path.myPoints[iP] - path.myPoints[0] );
|
||||
double dist = Abs( theSegments[iSeg].myVector * ( path.myPoints[iP] - path.myPoints[0] ));
|
||||
if ( dist > maxDist )
|
||||
{
|
||||
maxDist = dist;
|
||||
|
Loading…
Reference in New Issue
Block a user