mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fault Reactivation: flip Y axis in local model coordinates.
This commit is contained in:
parent
1fab743d56
commit
293594ebf6
@ -154,6 +154,8 @@ void RigFaultReactivationModelGenerator::setupLocalCoordinateTransform()
|
||||
{
|
||||
auto [xNormal, yNormal] = modelLocalNormalsXY();
|
||||
|
||||
yNormal = -1.0 * yNormal;
|
||||
|
||||
m_localCoordTransform = cvf::Mat4d::fromCoordSystemAxes( &xNormal, &yNormal, &cvf::Vec3d::Z_AXIS );
|
||||
cvf::Vec3d center = m_startPosition * -1.0;
|
||||
center.z() = 0.0;
|
||||
|
Loading…
Reference in New Issue
Block a user