Package gen.lib.dotgen
Class dotsplines__c
java.lang.Object
gen.lib.dotgen.dotsplines__c
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
adjustregularpath
(ST_path P, int fb, int lb) static ST_Agedge_s
bot_bound
(ST_Agedge_s e, int side) static ST_boxf
boxfof
(double llx, double lly, double urx, double ury) static ST_Agraph_s
cl_bound
(ST_Agraph_s g, ST_Agnode_s n, ST_Agnode_s adj) static boolean
cl_vninside
(ST_Agraph_s cl, ST_Agnode_s n) static void
completeregularpath
(ST_path P, ST_Agedge_s first, ST_Agedge_s last, ST_pathend_t tendp, ST_pathend_t hendp, ST_boxf[] boxes, int boxn, int flag) static void
dot_splines
(Globals zz, ST_Agraph_s g) static void
edge_normalize
(Globals zz, ST_Agraph_s g) static int
edgecmp
(CArrayOfStar<ST_Agedge_s> ptr0, CArrayOfStar<ST_Agedge_s> ptr1) static int
edgelblcmpfn
(CArrayOfStar<ST_Agedge_s> ptr0, CArrayOfStar<ST_Agedge_s> ptr1) static ST_Agedge_s
static void
make_flat_adj_edges
(Globals zz, ST_Agraph_s g, ST_path P, CArrayOfStar<ST_Agedge_s> edges, int ind, int cnt, ST_Agedge_s e0, int et) static Object
make_flat_bottom_edges
(Object... arg_) static void
make_flat_edge
(Globals zz, ST_Agraph_s g, ST_spline_info_t sp, ST_path P, CArrayOfStar<ST_Agedge_s> edges, int ind, int cnt, int et) static void
make_flat_labeled_edge
(Globals zz, ST_Agraph_s g, ST_spline_info_t sp, ST_path P, ST_Agedge_s e, int et) static void
make_regular_edge
(Globals zz, ST_Agraph_s g, ST_spline_info_t sp, ST_path P, CArrayOfStar<ST_Agedge_s> edges, int ind, int cnt, int et) static void
makeFlatEnd
(Globals zz, ST_Agraph_s g, ST_spline_info_t sp, ST_path P, ST_Agnode_s n, ST_Agedge_s e, ST_pathend_t endp, boolean isBegin) static int
makeLineEdge
(ST_Agraph_s g, ST_Agedge_s fe, __ptr__ points, __ptr__ hp) static ST_boxf
makeregularend
(ST_boxf b, int side, double y) static void
makeSimpleFlat
(Globals zz, ST_Agnode_s tn, ST_Agnode_s hn, CArrayOfStar<ST_Agedge_s> edges, int ind, int cnt, int et) static void
makeSimpleFlatLabels
(Globals zz, ST_Agnode_s tn, ST_Agnode_s hn, CArrayOfStar<ST_Agedge_s> edges, int ind, int cnt, int et, int n_lbls) static ST_boxf
maximal_bbox
(ST_Agraph_s g, ST_spline_info_t sp, ST_Agnode_s vn, ST_Agedge_s ie, ST_Agedge_s oe) static ST_Agnode_s
neighbor
(ST_Agraph_s g, ST_Agnode_s vn, ST_Agedge_s ie, ST_Agedge_s oe, int dir) static boolean
pathscross
(ST_Agnode_s n0, ST_Agnode_s n1, ST_Agedge_s ie1, ST_Agedge_s oe1) static void
static int
static ST_boxf
rank_box
(ST_spline_info_t sp, ST_Agraph_s g, int r) static void
recover_slack
(Globals zz, ST_Agedge_s e, ST_path p) static Object
static void
resize_vn
(ST_Agnode_s vn, int lx, int cx, int rx) static void
setflags
(ST_Agedge_s e, int hint1, int hint2, int f3) static boolean
static int
static ST_Agedge_s
straight_path
(ST_Agedge_s e, int cnt, CArray<ST_pointf> plist, int[] np) static void
swap_bezier
(CArray<ST_bezier> old, CArray<ST_bezier> new_) static boolean
static void
static ST_Agedge_s
top_bound
(ST_Agedge_s e, int side)
-
Field Details
-
spline_merge
-
swap_ends_p
-
edgecmp
-
edgelblcmpfn
-
-
Constructor Details
-
dotsplines__c
public dotsplines__c()
-
-
Method Details
-
boxfof
-
getmainedge
-
spline_merge
-
swap_ends_p
-
portcmp
-
swap_bezier
-
swap_spline
-
edge_normalize
-
resetRW
-
dot_splines
-
place_vnlabel
-
setflags
-
edgecmp
-
edgelblcmpfn
-
makeSimpleFlatLabels
public static void makeSimpleFlatLabels(Globals zz, ST_Agnode_s tn, ST_Agnode_s hn, CArrayOfStar<ST_Agedge_s> edges, int ind, int cnt, int et, int n_lbls) -
makeSimpleFlat
public static void makeSimpleFlat(Globals zz, ST_Agnode_s tn, ST_Agnode_s hn, CArrayOfStar<ST_Agedge_s> edges, int ind, int cnt, int et) -
make_flat_adj_edges
public static void make_flat_adj_edges(Globals zz, ST_Agraph_s g, ST_path P, CArrayOfStar<ST_Agedge_s> edges, int ind, int cnt, ST_Agedge_s e0, int et) -
makeFlatEnd
public static void makeFlatEnd(Globals zz, ST_Agraph_s g, ST_spline_info_t sp, ST_path P, ST_Agnode_s n, ST_Agedge_s e, ST_pathend_t endp, boolean isBegin) -
make_flat_labeled_edge
public static void make_flat_labeled_edge(Globals zz, ST_Agraph_s g, ST_spline_info_t sp, ST_path P, ST_Agedge_s e, int et) -
make_flat_bottom_edges
-
make_flat_edge
public static void make_flat_edge(Globals zz, ST_Agraph_s g, ST_spline_info_t sp, ST_path P, CArrayOfStar<ST_Agedge_s> edges, int ind, int cnt, int et) -
makeLineEdge
-
make_regular_edge
public static void make_regular_edge(Globals zz, ST_Agraph_s g, ST_spline_info_t sp, ST_path P, CArrayOfStar<ST_Agedge_s> edges, int ind, int cnt, int et) -
completeregularpath
public static void completeregularpath(ST_path P, ST_Agedge_s first, ST_Agedge_s last, ST_pathend_t tendp, ST_pathend_t hendp, ST_boxf[] boxes, int boxn, int flag) -
makeregularend
-
adjustregularpath
-
rank_box
-
straight_len
-
straight_path
-
recover_slack
-
resize_vn
-
top_bound
-
bot_bound
-
cl_vninside
-
cl_bound
-
maximal_bbox
public static ST_boxf maximal_bbox(ST_Agraph_s g, ST_spline_info_t sp, ST_Agnode_s vn, ST_Agedge_s ie, ST_Agedge_s oe) -
neighbor
public static ST_Agnode_s neighbor(ST_Agraph_s g, ST_Agnode_s vn, ST_Agedge_s ie, ST_Agedge_s oe, int dir) -
pathscross
-