Package gen.lib.common
Class splines__c
- java.lang.Object
-
- gen.lib.common.splines__c
-
public class splines__c extends Object
-
-
Constructor Summary
Constructors Constructor Description splines__c()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
add_box(ST_path P, ST_boxf b)
static void
arrow_clip(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(ST_path P, ST_Agedge_s e, int et, ST_pathend_t endp, boolean merge)
static void
bezier_clip(__ptr__ inside_context, __ptr__ inside, CArray<ST_pointf> sp, boolean left_inside)
static void
clip_and_install(ST_Agedge_s fe, ST_Agnode_s hn, CArray<ST_pointf> ps, int pn, ST_splineInfo info)
static double
conc_slope(ST_Agnode_s n)
static int
convert_sides_to_points(int tail_side, int head_side)
static ST_pointf
edgeMidpoint(ST_Agraph_s g, ST_Agedge_s e)
static void
endpath(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
getsplinepoints(ST_Agedge_s e)
static void
makeSelfEdge(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
selfLeft(Object... arg_)
static void
selfRight(CArrayOfStar<ST_Agedge_s> edges, int ind, int cnt, double stepx, double sizey, ST_splineInfo sinfo)
static int
selfRightSpace(ST_Agedge_s e)
static Object
selfTop(Object... arg_)
static void
shape_clip0(__ptr__ inside_context, ST_Agnode_s n, CArray<ST_pointf> curve, boolean left_inside)
-
-
-
Method Detail
-
arrow_clip
public static void arrow_clip(ST_Agedge_s fe, ST_Agnode_s hn, CArray<ST_pointf> ps, int[] startp, int[] endp, ST_bezier spl, ST_splineInfo info)
-
bezier_clip
public static void bezier_clip(__ptr__ inside_context, __ptr__ inside, CArray<ST_pointf> sp, boolean left_inside)
-
shape_clip0
public static void shape_clip0(__ptr__ inside_context, ST_Agnode_s n, CArray<ST_pointf> curve, boolean left_inside)
-
new_spline
public static ST_bezier new_spline(ST_Agedge_s e, int sz)
-
clip_and_install
public static void clip_and_install(ST_Agedge_s fe, ST_Agnode_s hn, CArray<ST_pointf> ps, int pn, ST_splineInfo info)
-
conc_slope
public static double conc_slope(ST_Agnode_s n)
-
beginpath
public static void beginpath(ST_path P, ST_Agedge_s e, int et, ST_pathend_t endp, boolean merge)
-
endpath
public static void endpath(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)
-
selfRight
public static void selfRight(CArrayOfStar<ST_Agedge_s> edges, int ind, int cnt, double stepx, double sizey, ST_splineInfo sinfo)
-
selfRightSpace
public static int selfRightSpace(ST_Agedge_s e)
-
makeSelfEdge
public static void makeSelfEdge(ST_path P, CArrayOfStar<ST_Agedge_s> edges, int ind, int cnt, double sizex, double sizey, ST_splineInfo sinfo)
-
endPoints
public static void endPoints(ST_splines spl, ST_pointf p, ST_pointf q)
-
edgeMidpoint
public static ST_pointf edgeMidpoint(ST_Agraph_s g, ST_Agedge_s e)
-
getsplinepoints
public static ST_splines getsplinepoints(ST_Agedge_s e)
-
-