Package gen.lib.common
Class splines__c
java.lang.Object
gen.lib.common.splines__c
public class splines__c
extends java.lang.Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
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
static int
convert_sides_to_points
(int tail_side, int head_side) static ST_pointf
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
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 java.lang.Object
selfBottom
(java.lang.Object... arg_) static java.lang.Object
selfLeft
(java.lang.Object... arg_) static void
selfRight
(CArrayOfStar<ST_Agedge_s> edges, int ind, int cnt, double stepx, double sizey, ST_splineInfo sinfo) static int
static java.lang.Object
selfTop
(java.lang.Object... arg_) static void
shape_clip0
(__ptr__ inside_context, ST_Agnode_s n, CArray<ST_pointf> curve, boolean left_inside) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
splines__c
public splines__c()
-
-
Method Details
-
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
-
shape_clip0
public static void shape_clip0(__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(ST_Agedge_s fe, ST_Agnode_s hn, CArray<ST_pointf> ps, int pn, ST_splineInfo info) -
conc_slope
-
add_box
-
beginpath
-
endpath
-
convert_sides_to_points
public static int convert_sides_to_points(int tail_side, int head_side) -
selfBottom
public static java.lang.Object selfBottom(java.lang.Object... arg_) -
selfTop
public static java.lang.Object selfTop(java.lang.Object... arg_) -
selfRight
public static void selfRight(CArrayOfStar<ST_Agedge_s> edges, int ind, int cnt, double stepx, double sizey, ST_splineInfo sinfo) -
selfLeft
public static java.lang.Object selfLeft(java.lang.Object... arg_) -
selfRightSpace
-
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
-
edgeMidpoint
-
getsplinepoints
-