mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 16:32:12 -05:00
Fault Reactivation: flip Y axis in local model coordinates.
This commit is contained in:
1 parent
1fab743d56
commit
293594ebf6
1 file changed
+2
@@ -154,6 +154,8 @@ void RigFaultReactivationModelGenerator::setupLocalCoordinateTransform()
|
|||||||
{
|
{
|
||||||
auto [xNormal, yNormal] = modelLocalNormalsXY();
|
auto [xNormal, yNormal] = modelLocalNormalsXY();
|
||||||
|
|
||||||
|
yNormal = -1.0 * yNormal;
|
||||||
|
|
||||||
m_localCoordTransform = cvf::Mat4d::fromCoordSystemAxes( &xNormal, &yNormal, &cvf::Vec3d::Z_AXIS );
|
m_localCoordTransform = cvf::Mat4d::fromCoordSystemAxes( &xNormal, &yNormal, &cvf::Vec3d::Z_AXIS );
|
||||||
cvf::Vec3d center = m_startPosition * -1.0;
|
cvf::Vec3d center = m_startPosition * -1.0;
|
||||||
center.z() = 0.0;
|
center.z() = 0.0;
|
||||||
|
|||||||
Reference in new issue
Block a user