Package gen.lib.common
Class splines__c
java.lang.Object
gen.lib.common.splines__c
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
arrow_clip
(Globals zz, ST_Agedge_s fe, ST_Agnode_s hn, CArray<ST_pointf> ps, int[] startp, int[] endp, ST_bezier spl, ST_splineInfo info) static void
beginpath
(Globals zz, ST_path P, ST_Agedge_s e, int et, ST_pathend_t endp, boolean merge) static void
bezier_clip
(Globals zz, __ptr__ inside_context, __ptr__ inside, CArray<ST_pointf> sp, boolean left_inside) static void
clip_and_install
(Globals zz, ST_Agedge_s fe, ST_Agnode_s hn, CArray<ST_pointf> ps, int pn, ST_splineInfo info) static double
static int
convert_sides_to_points
(int tail_side, int head_side) static ST_pointf
static void
endpath
(Globals zz, ST_path P, ST_Agedge_s e, int et, ST_pathend_t endp, boolean merge) static void
endPoints
(ST_splines spl, ST_pointf p, ST_pointf q) static ST_splines
static void
makeSelfEdge
(Globals zz, ST_path P, CArrayOfStar<ST_Agedge_s> edges, int ind, int cnt, double sizex, double sizey, ST_splineInfo sinfo) static ST_bezier
new_spline
(ST_Agedge_s e, int sz) static Object
selfBottom
(Object... arg_) static Object
static void
selfRight
(Globals zz, CArrayOfStar<ST_Agedge_s> edges, int ind, int cnt, double stepx, double sizey, ST_splineInfo sinfo) static int
static Object
static void
shape_clip0
(Globals zz, __ptr__ inside_context, ST_Agnode_s n, CArray<ST_pointf> curve, boolean left_inside)
-
Constructor Details
-
splines__c
public splines__c()
-
-
Method Details
-
arrow_clip
public static void arrow_clip(Globals zz, ST_Agedge_s fe, ST_Agnode_s hn, CArray<ST_pointf> ps, int[] startp, int[] endp, ST_bezier spl, ST_splineInfo info) -
bezier_clip
-
shape_clip0
public static void shape_clip0(Globals zz, __ptr__ inside_context, ST_Agnode_s n, CArray<ST_pointf> curve, boolean left_inside) -
new_spline
-
clip_and_install
public static void clip_and_install(Globals zz, ST_Agedge_s fe, ST_Agnode_s hn, CArray<ST_pointf> ps, int pn, ST_splineInfo info) -
conc_slope
-
add_box
-
beginpath
public static void beginpath(Globals zz, ST_path P, ST_Agedge_s e, int et, ST_pathend_t endp, boolean merge) -
endpath
public static void endpath(Globals zz, ST_path P, ST_Agedge_s e, int et, ST_pathend_t endp, boolean merge) -
convert_sides_to_points
public static int convert_sides_to_points(int tail_side, int head_side) -
selfBottom
-
selfTop
-
selfRight
public static void selfRight(Globals zz, CArrayOfStar<ST_Agedge_s> edges, int ind, int cnt, double stepx, double sizey, ST_splineInfo sinfo) -
selfLeft
-
selfRightSpace
-
makeSelfEdge
public static void makeSelfEdge(Globals zz, ST_path P, CArrayOfStar<ST_Agedge_s> edges, int ind, int cnt, double sizex, double sizey, ST_splineInfo sinfo) -
endPoints
-
edgeMidpoint
-
getsplinepoints
-