public class route__c
extends java.lang.Object
Constructor and Description |
---|
route__c() |
Modifier and Type | Method and Description |
---|---|
static ST_pointf |
add(ST_pointf p1,
ST_pointf p2) |
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 |
dist_n(CArray<ST_pointf> p,
int n) |
static double |
dist(ST_pointf p1,
ST_pointf p2) |
static double |
dot(ST_pointf p1,
ST_pointf p2) |
static void |
growops(int newopn) |
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 |
normv(ST_pointf v) |
static void |
points2coeff(double v0,
double v1,
double v2,
double v3,
double[] coeff) |
static int |
Proutespline(CArray<ST_Pedge_t> edges,
int edgen,
ST_Ppoly_t input,
CArray<ST_pointf> evs,
ST_Ppoly_t output) |
static int |
reallyroutespline(CArray<ST_Pedge_t> edges,
int edgen,
CArray<ST_pointf> inps,
int inpn,
ST_pointf ev0,
ST_pointf ev1) |
static ST_pointf |
scale(ST_pointf p,
double c) |
static int |
splinefits(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 |
sub(ST_pointf p1,
ST_pointf p2) |
public static int Proutespline(CArray<ST_Pedge_t> edges, int edgen, ST_Ppoly_t input, CArray<ST_pointf> evs, ST_Ppoly_t output)
public static int reallyroutespline(CArray<ST_Pedge_t> edges, int edgen, CArray<ST_pointf> inps, int inpn, ST_pointf ev0, ST_pointf ev1)
public 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)
public static int splinefits(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)
public static boolean splineisinside(CArray<ST_Pedge_t> edges, int edgen, CArray<ST_pointf> sps)
public static int splineintersectsline(CArray<ST_pointf> sps, CArray<ST_pointf> lps, double[] roots)
public static void points2coeff(double v0, double v1, double v2, double v3, double[] coeff)
public static void addroot(double root, double[] roots, int[] rootnp)
public static void growops(int newopn)
public static double B0(double t)
public static double B1(double t)
public static double B2(double t)
public static double B3(double t)
public static double B01(double t)
public static double B23(double t)