Package gen.lib.pathplan
Class route__c
java.lang.Object
gen.lib.pathplan.route__c
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ST_pointf
static void
addroot
(double root, double[] roots, int[] rootnp) static double
B0
(double t) static double
B01
(double t) static double
B1
(double t) static double
B2
(double t) static double
B23
(double t) static double
B3
(double t) static double
static double
static double
static void
static int
mkspline
(CArray<ST_pointf> inps, int inpn, CArray<ST_tna_t> tnas, ST_pointf ev0, ST_pointf ev1, ST_pointf sp0, ST_pointf sv0, ST_pointf sp1, ST_pointf sv1) static ST_pointf
static void
points2coeff
(double v0, double v1, double v2, double v3, double[] coeff) static int
Proutespline
(Globals zz, CArray<ST_Pedge_t> edges, int edgen, ST_Ppoly_t input, CArray<ST_pointf> evs, ST_Ppoly_t output) static int
reallyroutespline
(Globals zz, CArray<ST_Pedge_t> edges, int edgen, CArray<ST_pointf> inps, int inpn, ST_pointf ev0, ST_pointf ev1) static ST_pointf
static int
splinefits
(Globals zz, CArray<ST_Pedge_t> edges, int edgen, ST_pointf pa, ST_pointf va, ST_pointf pb, ST_pointf vb, CArray<ST_pointf> inps, int inpn) static int
splineintersectsline
(CArray<ST_pointf> sps, CArray<ST_pointf> lps, double[] roots) static boolean
splineisinside
(CArray<ST_Pedge_t> edges, int edgen, CArray<ST_pointf> sps) static ST_pointf
-
Constructor Details
-
route__c
public route__c()
-
-
Method Details
-
Proutespline
public static int Proutespline(Globals zz, CArray<ST_Pedge_t> edges, int edgen, ST_Ppoly_t input, CArray<ST_pointf> evs, ST_Ppoly_t output) -
reallyroutespline
-
mkspline
-
dist_n
-
splinefits
-
splineisinside
-
splineintersectsline
-
points2coeff
public static void points2coeff(double v0, double v1, double v2, double v3, double[] coeff) -
addroot
public static void addroot(double root, double[] roots, int[] rootnp) -
normv
-
growops
-
add
-
sub
-
dist
-
scale
-
dot
-
B0
public static double B0(double t) -
B1
public static double B1(double t) -
B2
public static double B2(double t) -
B3
public static double B3(double t) -
B01
public static double B01(double t) -
B23
public static double B23(double t)
-