Point and loop error libraries.

Philip Schuchardt ohc at vt.edu
Fri Sep 21 17:18:12 BST 2007


Olly,

I think I could compartmentalize solve_network() in netskel.c.  To 
compartmentalize solve_network would require the global node *stnlist to be 
declared as a local variable.  There might be other globals that I'm missing.

Currently, I'm wanting take the input for my GUI. Then create a list using 
Node and send it to solve_network() and get the results.  Do you think this 
would work?

Also, how do you handle stations with more than 3 legs?  In cavern.h you say:
node - like a station, except several nodes are used to represent a station 
with more than 3 legs connected to it.  How do you put together several nodes 
when there are more then 3 legs?

Does the loop error just get printed out for the loops(*.err) or is it written 
into a data structure?

I'm also confused on what Prefix *up, *down, *right does in struct Prefix.  
Where is the clino, compass, length, etc..., processed or stored for each 
survey leg?

Thanks,
Philip Schuchardt

On Thursday 20 September 2007 7:48 pm, Olly Betts wrote:
> On Thu, Sep 20, 2007 at 07:10:26PM -0400, Philip Schuchardt wrote:
> > I'm developing a new graphical survey data entry tool.  I would like to
> > use survex's loop closure and point generation engine.  Which source
> > files should I look at?
>
> It's not very modular currently sadly, but take a look at src/net*.c and
> src/net*.h.
>
> Cheers,
>     Olly



More information about the Survex mailing list