P
perltcl
Hi
I'm wondering if this is a problem with my (g++) compiler or with the
code.
I have to modify some code to make g++ compile,
else I get a no matching function error.
The commented out line were the original code,
//double ScaleX =
vtProjection::GeodesicDistance(DPoint2(left,bottom),DPoint2(right,bottom));
DPoint2 xxxx(left,bottom),yyyy(left,bottom);
double ScaleX = vtProjection::GeodesicDistance(xxxx,yyyy);
Here is the function prototype:
static double GeodesicDistance (const DPoint2 &in, DPoint2 &out, bool
bQuick=false)
BTW, I didn't write this code, I just run into this problem, while
compiling a package.
I like to know if this is a problem with my g++ compiler, or with the
code.
after that I can decide which group to report this bug.
I have a hunch the same code compiles under vc++
Thanks for your time.
I'm wondering if this is a problem with my (g++) compiler or with the
code.
I have to modify some code to make g++ compile,
else I get a no matching function error.
The commented out line were the original code,
//double ScaleX =
vtProjection::GeodesicDistance(DPoint2(left,bottom),DPoint2(right,bottom));
DPoint2 xxxx(left,bottom),yyyy(left,bottom);
double ScaleX = vtProjection::GeodesicDistance(xxxx,yyyy);
Here is the function prototype:
static double GeodesicDistance (const DPoint2 &in, DPoint2 &out, bool
bQuick=false)
BTW, I didn't write this code, I just run into this problem, while
compiling a package.
I like to know if this is a problem with my g++ compiler, or with the
code.
after that I can decide which group to report this bug.
I have a hunch the same code compiles under vc++
Thanks for your time.