From d29de81e16b391480b2ecef9c032a6eac680af80 Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 28 Feb 2007 15:05:07 +0000 Subject: [PATCH] PAL13460 (PAL EDF 301 force the mesh to go through a point) precise node param on edge --- src/StdMeshers/StdMeshers_FaceSide.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/StdMeshers/StdMeshers_FaceSide.cxx b/src/StdMeshers/StdMeshers_FaceSide.cxx index 081d2a79f..0ceabc89b 100644 --- a/src/StdMeshers/StdMeshers_FaceSide.cxx +++ b/src/StdMeshers/StdMeshers_FaceSide.cxx @@ -263,7 +263,8 @@ const vector& StdMeshers_FaceSide::GetUVPtStruct(bool isXConst, } else { double r = ( uvPt.normParam - prevNormPar )/ paramSize; - uvPt.param = myFirst[EdgeIndex] * ( 1 - r ) + myLast[EdgeIndex] * r; +// uvPt.param = myFirst[EdgeIndex] * ( 1 - r ) + myLast[EdgeIndex] * r; + uvPt.param = ( r > 0.5 ? myLast[EdgeIndex] : myFirst[EdgeIndex] ); } if ( !myC2d[ EdgeIndex ].IsNull() ) { gp_Pnt2d p = myC2d[ EdgeIndex ]->Value( uvPt.param );