Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
ortho.c File Reference
#include "config.h"
#include <assert.h>
#include <float.h>
#include <math.h>
#include <stdbool.h>
#include <stddef.h>
#include <ortho/maze.h>
#include <ortho/fPQ.h>
#include <ortho/ortho.h>
#include <common/geomprocs.h>
#include <common/globals.h>
#include <common/render.h>
#include <common/pointset.h>
#include <util/alloc.h>
#include <util/exit.h>
#include <util/unused.h>
#include <common/arith.h>
Include dependency graph for ortho.c:

Go to the source code of this file.

Data Structures

struct  epair_t
 
struct  chanItem
 

Macros

#define DEBUG
 
#define DEBUG_FN   /* nothing */
 
#define CELL(n)   ((cell*)ND_alg(n))
 
#define MID(a, b)   (((a)+(b))/2.0)
 
#define SC   1
 
#define TRANS   10
 

Functions

static DEBUG_FN void emitSearchGraph (FILE *fp, sgraph *sg)
 dumps in dot format snode::cells and edges of sgraph for debugging
 
static DEBUG_FN void emitGraph (FILE *fp, maze *mp, size_t n_edges, route *route_list, epair_t[])
 
static cellcellOf (snode *p, snode *q)
 
static pointf midPt (cell *cp)
 
static pointf sidePt (snode *ptr, cell *cp)
 
static void setSeg (segment *sp, bool dir, double fix, double b1, double b2, int l1, int l2)
 
static route convertSPtoRoute (sgraph *g, snode *fst, snode *lst)
 
static void freeChannel (void *chan)
 
static void freeChanItem (void *item)
 
static int chancmpid (void *k1, void *k2)
 
static int dcmpid (void *k1, void *k2)
 
static void addChan (Dt_t *chdict, channel *cp, double j)
 
static Dt_textractHChans (maze *mp)
 
static Dt_textractVChans (maze *mp)
 
static void insertChan (channel *chan, segment *seg)
 
static channelchanSearch (Dt_t *chans, segment *seg)
 
static void assignSegs (size_t nrtes, route *route_list, maze *mp)
 
static void addLoop (sgraph *sg, cell *cp, snode *dp, snode *sp)
 
static void addNodeEdges (sgraph *sg, cell *cp, snode *np)
 
static char * bendToStr (bend b)
 
static void putSeg (FILE *fp, segment *seg)
 
static DEBUG_FN void dumpChanG (channel *cp, double v)
 
static void assignTrackNo (Dt_t *chans)
 
static void create_graphs (Dt_t *chans)
 
static int eqEndSeg (bend S1l2, bend S2l2, bend T1, bend T2)
 
static int overlapSeg (segment *S1, segment *S2, bend T1, bend T2)
 
static int ellSeg (bend S1l1, bend S1l2, bend T)
 
static int segCmp (segment *S1, segment *S2, bend T1, bend T2)
 
static int seg_cmp (segment *S1, segment *S2)
 
static int add_edges_in_G (channel *cp)
 
static int add_np_edges (Dt_t *chans)
 
static segmentnext_seg (segment *seg, int dir)
 
static int propagate_prec (segment *seg, int prec, int hops, int dir)
 
static bool is_parallel (segment *s1, segment *s2)
 
static int decide_point (pair *ret, segment *si, segment *sj, int dir1, int dir2)
 
static void set_parallel_edges (segment *seg1, segment *seg2, int dir1, int dir2, int hops, maze *mp)
 
static void removeEdge (segment *seg1, segment *seg2, int dir, maze *mp)
 
static int addPEdges (channel *cp, maze *mp)
 
static int add_p_edges (Dt_t *chans, maze *mp)
 
static int assignTracks (maze *mp)
 
static double vtrack (segment *seg, maze *m)
 
static double htrack (segment *seg, maze *m)
 
static pointf addPoints (pointf p0, pointf p1)
 
static void attachOrthoEdges (maze *mp, size_t n_edges, route *route_list, splineInfo *sinfo, epair_t es[], bool doLbls)
 
static int edgeLen (Agedge_t *e)
 
static int edgecmp (const void *x, const void *y)
 
static bool spline_merge (node_t *n)
 
static bool swap_ends_p (edge_t *e)
 
void orthoEdges (Agraph_t *g, bool useLbls)
 
static pointf coordOf (cell *cp, snode *np)
 
static boxf emitEdge (FILE *fp, Agedge_t *e, route rte, maze *m, boxf bb)
 

Variables

int odb_flags
 
static Dtdisc_t chanDisc
 
static Dtdisc_t chanItemDisc
 
static splineInfo sinfo = { swap_ends_p, spline_merge, true, true }
 
static char * prolog2
 
static char * epilog2
 

Macro Definition Documentation

◆ CELL

#define CELL (   n)    ((cell*)ND_alg(n))

Definition at line 59 of file ortho.c.

◆ DEBUG

#define DEBUG

Definition at line 24 of file ortho.c.

◆ DEBUG_FN

#define DEBUG_FN   /* nothing */

Definition at line 47 of file ortho.c.

◆ MID

#define MID (   a,
 
)    (((a)+(b))/2.0)

Definition at line 60 of file ortho.c.

◆ SC

#define SC   1

Definition at line 61 of file ortho.c.

◆ TRANS

#define TRANS   10

Definition at line 1367 of file ortho.c.

Function Documentation

◆ add_edges_in_G()

static int add_edges_in_G ( channel cp)
static

Definition at line 713 of file ortho.c.

References cmp(), G, channel::G, insert_edge(), seg_cmp(), and channel::seg_list.

Referenced by add_np_edges().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ add_np_edges()

static int add_np_edges ( Dt_t chans)
static

Definition at line 737 of file ortho.c.

References add_edges_in_G(), dtflatten(), dtlink, and channel::seg_list.

Referenced by assignTracks().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ add_p_edges()

static int add_p_edges ( Dt_t chans,
maze mp 
)
static

Definition at line 1054 of file ortho.c.

References addPEdges(), dtflatten(), and dtlink.

Referenced by assignTracks().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ addChan()

static void addChan ( Dt_t chdict,
channel cp,
double  j 
)
static

Definition at line 321 of file ortho.c.

References chanDisc, chanItem::chans, dtinsert, dtmatch, dtopen(), Dtoset, gv_alloc(), and chanItem::v.

Referenced by extractHChans(), and extractVChans().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ addLoop()

static void addLoop ( sgraph sg,
cell cp,
snode dp,
snode sp 
)
static

Definition at line 449 of file ortho.c.

References snode::cells, createSEdge(), snode::isVert, sgraph::nnodes, cell::nsides, and cell::sides.

Referenced by orthoEdges().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ addNodeEdges()

static void addNodeEdges ( sgraph sg,
cell cp,
snode np 
)
static

Definition at line 477 of file ortho.c.

References snode::cells, createSEdge(), sgraph::nnodes, cell::nsides, and cell::sides.

Referenced by orthoEdges().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ addPEdges()

static int addPEdges ( channel cp,
maze mp 
)
static

Definition at line 962 of file ortho.c.

References pair::a, pair::b, decide_point(), edge_exists(), G, channel::G, is_parallel(), removeEdge(), channel::seg_list, and set_parallel_edges().

Referenced by add_p_edges().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ addPoints()

static pointf addPoints ( pointf  p0,
pointf  p1 
)
static

Definition at line 1121 of file ortho.c.

References pointf_s::x, and pointf_s::y.

Referenced by attachOrthoEdges().

Here is the caller graph for this function:

◆ assignSegs()

static void assignSegs ( size_t  nrtes,
route route_list,
maze mp 
)
static

Definition at line 427 of file ortho.c.

References chanSearch(), maze::hchans, insertChan(), segment::isVert, route::n, route::segs, and maze::vchans.

Referenced by orthoEdges().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ assignTrackNo()

static void assignTrackNo ( Dt_t chans)
static

Definition at line 543 of file ortho.c.

References dtflatten(), dtlink, dumpChanG(), channel::G, odb_flags, channel::seg_list, top_sort(), vertex::topsort_order, and rawgraph::vertices.

Referenced by assignTracks().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ assignTracks()

static int assignTracks ( maze mp)
static

Definition at line 1073 of file ortho.c.

References add_np_edges(), add_p_edges(), assignTrackNo(), create_graphs(), maze::hchans, and maze::vchans.

Referenced by orthoEdges().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ attachOrthoEdges()

static void attachOrthoEdges ( maze mp,
size_t  n_edges,
route route_list,
splineInfo sinfo,
epair_t  es[],
bool  doLbls 
)
static

Definition at line 1128 of file ortho.c.

References addEdgeLabels(), addPoints(), aghead, agnameof(), agtail, clip_and_install(), epair_t::e, ED_head_port, ED_label, ED_tail_port, free(), gv_calloc(), htrack(), segment::isVert, route::n, ND_coord, route::segs, textlabel_t::set, sinfo, Verbose, vtrack(), pointf_s::x, and pointf_s::y.

Referenced by orthoEdges().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bendToStr()

static char * bendToStr ( bend  b)
static

Definition at line 492 of file ortho.c.

References B_DOWN, B_LEFT, B_NODE, B_RIGHT, B_UP, and NULL.

Referenced by putSeg().

Here is the caller graph for this function:

◆ cellOf()

static cell * cellOf ( snode p,
snode q 
)
static

Definition at line 67 of file ortho.c.

References snode::cells.

Referenced by convertSPtoRoute().

Here is the caller graph for this function:

◆ chancmpid()

static int chancmpid ( void *  k1,
void *  k2 
)
static

Definition at line 280 of file ortho.c.

References paird::p1, and paird::p2.

◆ chanSearch()

static channel * chanSearch ( Dt_t chans,
segment seg 
)
static

Definition at line 416 of file ortho.c.

References chanItem::chans, segment::comm_coord, dtmatch, and segment::p.

Referenced by assignSegs(), htrack(), removeEdge(), set_parallel_edges(), and vtrack().

Here is the caller graph for this function:

◆ convertSPtoRoute()

static route convertSPtoRoute ( sgraph g,
snode fst,
snode lst 
)
static

Definition at line 146 of file ortho.c.

References B_DOWN, B_LEFT, B_NODE, B_RIGHT, B_UP, cell::bb, cellOf(), snode::cells, gv_calloc(), gv_recalloc(), IsNode, snode::isVert, boxf::LL, midPt(), route::n, N_DAD, N_EDGE, segment::next, NULL, prev, segment::prev, route::segs, setSeg(), sidePt(), updateWts(), pointf_s::x, and pointf_s::y.

Referenced by orthoEdges().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ coordOf()

static pointf coordOf ( cell cp,
snode np 
)
static

Definition at line 1406 of file ortho.c.

References agerrorf(), cell::bb, graphviz_exit(), boxf::LL, M_BOTTOM, M_LEFT, M_RIGHT, M_TOP, cell::sides, boxf::UR, pointf_s::x, and pointf_s::y.

Referenced by emitSearchGraph().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ create_graphs()

static void create_graphs ( Dt_t chans)
static

Definition at line 567 of file ortho.c.

References dtflatten(), dtlink, channel::G, make_graph(), and channel::seg_list.

Referenced by assignTracks().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ dcmpid()

static int dcmpid ( void *  k1,
void *  k2 
)
static

Definition at line 294 of file ortho.c.

◆ decide_point()

static int decide_point ( pair ret,
segment si,
segment sj,
int  dir1,
int  dir2 
)
static

Definition at line 819 of file ortho.c.

References pair::a, pair::b, is_parallel(), next_seg(), NULL, propagate_prec(), and seg_cmp().

Referenced by addPEdges().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ dumpChanG()

static DEBUG_FN void dumpChanG ( channel cp,
double  v 
)
static

Definition at line 526 of file ortho.c.

References vertex::adj_list, channel::G, channel::p, paird::p1, paird::p2, putSeg(), channel::seg_list, and rawgraph::vertices.

Referenced by assignTrackNo().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ edgecmp()

static int edgecmp ( const void *  x,
const void *  y 
)
static

Definition at line 1200 of file ortho.c.

References epair_t::d.

Referenced by orthoEdges().

Here is the caller graph for this function:

◆ edgeLen()

static int edgeLen ( Agedge_t e)
static

Definition at line 1193 of file ortho.c.

References aghead, agtail, DIST2, and ND_coord.

Referenced by orthoEdges().

Here is the caller graph for this function:

◆ ellSeg()

static int ellSeg ( bend  S1l1,
bend  S1l2,
bend  T 
)
static

Definition at line 610 of file ortho.c.

References T.

Referenced by segCmp().

Here is the caller graph for this function:

◆ emitEdge()

static boxf emitEdge ( FILE *  fp,
Agedge_t e,
route  rte,
maze m,
boxf  bb 
)
static

Definition at line 1432 of file ortho.c.

References aghead, agtail, CELL, htrack(), segment::isVert, boxf::LL, route::n, SC, route::segs, boxf::UR, vtrack(), pointf_s::x, and pointf_s::y.

Referenced by emitGraph().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ emitGraph()

static DEBUG_FN void emitGraph ( FILE *  fp,
maze mp,
size_t  n_edges,
route route_list,
epair_t  es[] 
)
static

Definition at line 1522 of file ortho.c.

References cell::bb, bbox(), maze::cells, emitEdge(), epilog2, maze::gcells, boxf::LL, maze::ncells, maze::ngcells, prolog2, TRANS, boxf::UR, pointf_s::x, and pointf_s::y.

Referenced by orthoEdges().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ emitSearchGraph()

static DEBUG_FN void emitSearchGraph ( FILE *  fp,
sgraph sg 
)
static

The routine uses coordinates of cells calculated from gcells. Coordinates of gcellg are calculated by original specified graph layout engine.

Definition at line 1494 of file ortho.c.

References snode::cells, coordOf(), sgraph::edges, IsNode, midPt(), sgraph::nedges, sgraph::nnodes, sgraph::nodes, sedge::v1, sedge::v2, sedge::weight, pointf_s::x, and pointf_s::y.

Referenced by orthoEdges().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ eqEndSeg()

static int eqEndSeg ( bend  S1l2,
bend  S2l2,
bend  T1,
bend  T2 
)
static

Definition at line 584 of file ortho.c.

References B_NODE.

Referenced by overlapSeg(), and segCmp().

Here is the caller graph for this function:

◆ extractHChans()

static Dt_t * extractHChans ( maze mp)
static

Definition at line 335 of file ortho.c.

References addChan(), cell::bb, maze::cells, snode::cells, chanItemDisc, channel::cp, dtopen(), Dtoset, cell::flags, gv_alloc(), IsHScan, IsNode, boxf::LL, M_LEFT, M_RIGHT, MZ_HSCAN, maze::ncells, channel::p, paird::p1, paird::p2, cell::sides, boxf::UR, pointf_s::x, and pointf_s::y.

Referenced by orthoEdges().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ extractVChans()

static Dt_t * extractVChans ( maze mp)
static

Definition at line 372 of file ortho.c.

References addChan(), cell::bb, maze::cells, snode::cells, chanItemDisc, channel::cp, dtopen(), Dtoset, cell::flags, gv_alloc(), IsNode, IsVScan, boxf::LL, M_BOTTOM, M_TOP, MZ_VSCAN, maze::ncells, channel::p, paird::p1, paird::p2, cell::sides, boxf::UR, pointf_s::x, and pointf_s::y.

Referenced by orthoEdges().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ freeChanItem()

static void freeChanItem ( void *  item)
static

Definition at line 265 of file ortho.c.

References chanItem::chans, dtclose(), and free().

Here is the call graph for this function:

◆ freeChannel()

static void freeChannel ( void *  chan)
static

Definition at line 258 of file ortho.c.

References free(), free_graph(), channel::G, and channel::seg_list.

Here is the call graph for this function:

◆ htrack()

static double htrack ( segment seg,
maze m 
)
static

Definition at line 1112 of file ortho.c.

References cell::bb, chanSearch(), channel::cp, maze::hchans, boxf::LL, channel::seg_list, segment::track_no, boxf::UR, and pointf_s::y.

Referenced by attachOrthoEdges(), and emitEdge().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ insertChan()

static void insertChan ( channel chan,
segment seg 
)
static

Definition at line 409 of file ortho.c.

References segment::ind_no, and channel::seg_list.

Referenced by assignSegs().

Here is the caller graph for this function:

◆ is_parallel()

static bool is_parallel ( segment s1,
segment s2 
)
static

Definition at line 804 of file ortho.c.

References segment::comm_coord, segment::l1, segment::l2, segment::p, paird::p1, paird::p2, and s1().

Referenced by addPEdges(), decide_point(), and removeEdge().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ midPt()

static pointf midPt ( cell cp)
static

Definition at line 75 of file ortho.c.

References cell::bb, boxf::LL, MID, boxf::UR, pointf_s::x, and pointf_s::y.

Referenced by convertSPtoRoute(), and emitSearchGraph().

Here is the caller graph for this function:

◆ next_seg()

static segment * next_seg ( segment seg,
int  dir 
)
static

Definition at line 759 of file ortho.c.

References segment::next, and segment::prev.

Referenced by decide_point(), propagate_prec(), removeEdge(), and set_parallel_edges().

Here is the caller graph for this function:

◆ orthoEdges()

void orthoEdges ( Agraph_t g,
bool  useLbls 
)

Definition at line 1231 of file ortho.c.

References addLoop(), addNodeEdges(), addPS(), agfstnode(), agfstout(), agget(), aghead, agnedges(), agnxtnode(), agnxtout(), AGSEQ, agtail, agwarningf(), assignSegs(), assignTracks(), attachOrthoEdges(), CELL, Concentrate, convertSPtoRoute(), epair_t::d, epair_t::e, ED_label, ED_spl, edgecmp(), edgeLen(), emitGraph(), emitSearchGraph(), extractHChans(), extractVChans(), free(), freeMaze(), freePS(), gv_calloc(), maze::hchans, isInPS(), mkMaze(), newPS(), sgraph::nnodes, sgraph::nodes, Nop, NULL, odb_flags, PQfree(), PQgen(), ps, reset(), textlabel_t::set, maze::sg, shortPath(), sinfo, and maze::vchans.

Referenced by dot_splines_(), and spline_edges_().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ overlapSeg()

static int overlapSeg ( segment S1,
segment S2,
bend  T1,
bend  T2 
)
static

Definition at line 593 of file ortho.c.

References eqEndSeg(), segment::l1, segment::l2, segment::p, and paird::p2.

Referenced by segCmp().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ propagate_prec()

static int propagate_prec ( segment seg,
int  prec,
int  hops,
int  dir 
)
static

Definition at line 772 of file ortho.c.

References B_DOWN, B_LEFT, B_RIGHT, B_UP, segment::comm_coord, segment::isVert, segment::l1, segment::l2, next_seg(), segment::p, and paird::p1.

Referenced by decide_point().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ putSeg()

static void putSeg ( FILE *  fp,
segment seg 
)
static

Definition at line 516 of file ortho.c.

References bendToStr(), segment::comm_coord, segment::isVert, segment::l1, segment::l2, segment::p, paird::p1, and paird::p2.

Referenced by dumpChanG().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ removeEdge()

static void removeEdge ( segment seg1,
segment seg2,
int  dir,
maze mp 
)
static

Definition at line 942 of file ortho.c.

References chanSearch(), channel::G, maze::hchans, segment::ind_no, is_parallel(), segment::isVert, next_seg(), remove_redge(), and maze::vchans.

Referenced by addPEdges().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ seg_cmp()

static int seg_cmp ( segment S1,
segment S2 
)
static

Definition at line 700 of file ortho.c.

References agerrorf(), B_DOWN, B_LEFT, B_RIGHT, B_UP, segment::comm_coord, segment::isVert, and segCmp().

Referenced by add_edges_in_G(), and decide_point().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ segCmp()

static int segCmp ( segment S1,
segment S2,
bend  T1,
bend  T2 
)
static

Definition at line 620 of file ortho.c.

References B_NODE, ellSeg(), eqEndSeg(), segment::l1, segment::l2, overlapSeg(), segment::p, paird::p1, and paird::p2.

Referenced by seg_cmp().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ set_parallel_edges()

static void set_parallel_edges ( segment seg1,
segment seg2,
int  dir1,
int  dir2,
int  hops,
maze mp 
)
static

Definition at line 853 of file ortho.c.

References B_LEFT, B_UP, chanSearch(), segment::comm_coord, edge_exists(), channel::G, maze::hchans, segment::ind_no, insert_edge(), segment::isVert, segment::l1, segment::l2, next_seg(), segment::p, paird::p1, and maze::vchans.

Referenced by addPEdges().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setSeg()

static void setSeg ( segment sp,
bool  dir,
double  fix,
double  b1,
double  b2,
int  l1,
int  l2 
)
static

Definition at line 120 of file ortho.c.

References segment::comm_coord, segment::isVert, segment::l1, segment::l2, segment::p, paird::p1, and paird::p2.

Referenced by convertSPtoRoute().

Here is the caller graph for this function:

◆ sidePt()

static pointf sidePt ( snode ptr,
cell cp 
)
static

Definition at line 88 of file ortho.c.

References cell::bb, snode::cells, snode::isVert, boxf::LL, MID, boxf::UR, pointf_s::x, and pointf_s::y.

Referenced by convertSPtoRoute().

Here is the caller graph for this function:

◆ spline_merge()

static bool spline_merge ( node_t n)
static

Definition at line 1212 of file ortho.c.

◆ swap_ends_p()

static bool swap_ends_p ( edge_t e)
static

Definition at line 1218 of file ortho.c.

◆ vtrack()

static double vtrack ( segment seg,
maze m 
)
static

Definition at line 1103 of file ortho.c.

References cell::bb, chanSearch(), channel::cp, left, boxf::LL, right, channel::seg_list, segment::track_no, boxf::UR, maze::vchans, and pointf_s::x.

Referenced by attachOrthoEdges(), and emitEdge().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ chanDisc

Dtdisc_t chanDisc
static
Initial value:
= {
offsetof(channel,p),
sizeof(paird),
offsetof(channel,link),
0,
}
static void freeChannel(void *chan)
Definition ortho.c:258
static int chancmpid(void *k1, void *k2)
Definition ortho.c:280

Definition at line 302 of file ortho.c.

Referenced by addChan().

◆ chanItemDisc

Dtdisc_t chanItemDisc
static
Initial value:
= {
offsetof(chanItem,v),
sizeof(double),
offsetof(chanItem,link),
0,
}
static int dcmpid(void *k1, void *k2)
Definition ortho.c:294
static void freeChanItem(void *item)
Definition ortho.c:265

Definition at line 311 of file ortho.c.

Referenced by extractHChans(), and extractVChans().

◆ epilog2

char* epilog2
static
Initial value:
=
"showpage\n\
%%%%Trailer\n\
%%%%BoundingBox: %.f %.f %.f %.f\n"

Definition at line 1401 of file ortho.c.

Referenced by emitGraph().

◆ odb_flags

int odb_flags

Definition at line 56 of file ortho.c.

Referenced by assignTrackNo(), mkMaze(), and orthoEdges().

◆ prolog2

char* prolog2
static

Definition at line 1369 of file ortho.c.

Referenced by emitGraph().

◆ sinfo

splineInfo sinfo = { swap_ends_p, spline_merge, true, true }
static

Definition at line 1224 of file ortho.c.

Referenced by attachOrthoEdges(), and orthoEdges().