Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
VTK
VTK
Commits
271d072b
Commit
271d072b
authored
Sep 21, 2015
by
Aashish Chaudhary
Browse files
Fixed wrong index being used.
parent
19c75043
Pipeline
#6818
passed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Geovis/Core/vtkGeoTransform.cxx
View file @
271d072b
...
...
@@ -170,6 +170,7 @@ void vtkGeoTransform::InternalTransformPoints( double* x, vtkIdType numPts, int
xy
.
x
=
coord
[
0
];
xy
.
y
=
coord
[
1
];
lp
=
proj_inv
(
xy
,
src
);
coord
[
0
]
=
lp
.
lam
;
coord
[
1
]
=
lp
.
phi
;
coord
+=
stride
;
}
}
else
// ! src
...
...
@@ -193,6 +194,7 @@ void vtkGeoTransform::InternalTransformPoints( double* x, vtkIdType numPts, int
lp
.
lam
=
coord
[
0
];
lp
.
phi
=
coord
[
1
];
xy
=
proj_fwd
(
lp
,
dst
);
coord
[
0
]
=
xy
.
x
;
coord
[
1
]
=
xy
.
y
;
coord
+=
stride
;
}
}
else
// ! dst
...
...
@@ -209,4 +211,3 @@ void vtkGeoTransform::InternalTransformPoints( double* x, vtkIdType numPts, int
}
}
}
Aashish Chaudhary
@aashish-chaudhary
mentioned in commit
d2dd32ef
·
Feb 10, 2016
mentioned in commit
d2dd32ef
mentioned in commit d2dd32efbe139e7aee2cc97d3437c906929813d0
Toggle commit list
Aashish Chaudhary
@aashish-chaudhary
Mentioned in commit
d2dd32ef
·
Oct 12, 2016
Mentioned in commit
d2dd32ef
Mentioned in commit d2dd32efbe139e7aee2cc97d3437c906929813d0
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment