mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Exported coordinate fix (#11283)
Make sure exported well path coordinates use local coord system when needed.
This commit is contained in:
@@ -167,6 +167,16 @@ void RigFaultReactivationModelGenerator::setupLocalCoordinateTransform()
|
||||
m_localCoordTransform.setTranslation( center );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
cvf::Vec3d RigFaultReactivationModelGenerator::transformPointIfNeeded( const cvf::Vec3d point ) const
|
||||
{
|
||||
if ( !m_useLocalCoordinates ) return point;
|
||||
|
||||
return point.getTransformedPoint( m_localCoordTransform );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
/// change corner order to be consistent so that index (0,1) and (2,3) gives the lower and upper horz. lines no matter what I or J face we
|
||||
/// have
|
||||
|
||||
Reference in New Issue
Block a user