mfc >> ot question

by David Robbins » Thu, 27 Nov 2003 02:54:00 GMT

except for being something i need to do in an mfc app i'm working on this
doesn't really have anything to do with mfc.... but its as bad a place to
start as any other group i watch. i need a kind of generic algorithm to
take an array of 3d points that describe a surface, then given two
coordinates of another point interpolate the third coordinate on the
surface. picture it like you have a set of random latitude, longitude and
elevation points, then want to find the elevation of any given latitude and
longitude coordinate. (over a small area, don't worry about spherical earth
and all that stuff) any ideas of libraries that do this type of job? web
resources for algorithms? etc???




Similar Threads

1. [OT] Question on vector at()

James Kanze wrote:

> (FWIW: does anyone know why Firefox crashes so often under
> Linux?  Curiously enough, under completely different conditions
> at work and on my home system---at work, it's always when
> viewing Google Groups---which admittedly is some of the worst
> HTML I've ever seen---; at home, only when I want a print
> preview, but then, even with the simplest HTML.)

It hasn't crashed on me in months (years?).  I'm using Firefox 2 on Suse 
10.  Are you on Firefox 3?  It may still have some stability problems, 
but I don't know; installing it will require upgrading my pango 
libraries, and I haven't found time to dig into that yet.

2. [OT] Question: How do you feel about recursion?

3. Slightly OT question about lnk error 1104 in visual studio

I am using the latest version of Visual c++ on windows XP.
I am trying to build a project and get a lnk1104 error regarding  a
file of the form .../../  ProjectName.lib  No other errors, just this
one.
I've googled this error but not found anything useful at my newbie
level. I understand the issue may be one of including the right
files.  I therefore went to Additional Include Directories on the
Property Pages but I would need help working out what I need to do to
verify that the paths there are correct.

Can anyone advise or provide a URL for this problem?  Perhaps this
isn't a language question, and I apologise if I'm slightly OT but
this
is a very urgent matter for me so I was keen to pick among the high-
activity newsgroups.

Thank you very much for your help,


Paul Epstein


4. [OT] Question About Method

5. [OT] Question about static libraries exporting functions

moschops wrote:
> ...
> How does a static library indicate which functions may be called from 
> it? It must do it somehow, as it's a single file. Is there a listing 
> somewhere in there that can be read by my linker?
> ...

This is off-topic here, since there's no such thing as "libraries" (in the 
implied sense of the word) in C++ language.

However, normally there's no way to do what you want. Every function with 
external linkage will be linkable from outside. All you have is that functions 
with internal linkage (declared as 'static') will not be linkable from outside. 
In case when your library is compiled from a single translation unit (single 
source file), you can control the external "visibility" of its functions by 
using the 'static' specifier. But, obviously, this approach won't work in 
general case, since in general case one has more than one translation unit in 
the library and needs to call functions across the units.

-- 
Best regards,
Andrey Tarasevich

6. [not OT] Question about static libraries exporting functions

7. Forgive me: V Quick OT question

Which is the microsoft MSVC6 newsgroup? I've been searching for half
an hour and I cannot find it.

8. [OT] Question: How do you feel about recursion?