Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dg
dg
Commits
d309afee
Commit
d309afee
authored
Jun 06, 2017
by
Jonathan Lambrechts
Browse files
pj_transform with 3 variables
parent
e2e60368
Pipeline
#2084
passed with stage
in 37 minutes and 47 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
modules/slimFunction/proj.i
View file @
d309afee
...
...
@@ -12,6 +12,10 @@
#
include
"proj_api.h"
#
include
"fullMatrix.h"
#
include
"dgFullMatrix.h"
double
pj_transform
(
projPJ
src
,
projPJ
dst
,
double
&
x,
double
&
y,
double
&
z)
{
pj_transform
(
src
,
dst
,
1
,
1
,
&
x,
&
y,
&
z);
return
x
;
}
double
pj_transform
(
projPJ
src
,
projPJ
dst
,
double
&
x,
double
&
y)
{
pj_transform
(
src
,
dst
,
1
,
1
,
&
x,
&
y,
NULL);
return
x
;
...
...
@@ -34,4 +38,6 @@ int pj_is_latlong(projPJ);
fullMatrix
<
double
>
pjTransform
(
projPJ
src
,
projPJ
dst
,
const
fullMatrix
<
double
>
&
coord);
%
apply
double
*
INOUT
{double
&
x,
double
&
y};
void
pj_transform
(
projPJ
src
,
projPJ
dst
,
double
&
x,
double
&
y);
%
apply
double
*
INOUT
{double
&
x,
double
&
y,
double
&
z};
void
pj_transform
(
projPJ
src
,
projPJ
dst
,
double
&
x,
double
&
y,
double
&
z);
void
pjTransformInPlace
(
projPJ
src
,
projPJ
dst
,
fullMatrix
<
double
>
&
coord);
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