Uses of Class
org.pathvisio.libgpml.util.LinAlg.Point
Package | Description |
---|---|
org.pathvisio.libgpml.util |
Utility classes
|
-
Uses of LinAlg.Point in org.pathvisio.libgpml.util
Methods in org.pathvisio.libgpml.util that return LinAlg.Point Modifier and Type Method Description LinAlg.Point
LinAlg.Point. add(LinAlg.Point p)
LinAlg.Point
LinAlg.Point. clone()
LinAlg.Point
LinAlg.Point. multiply(double d)
LinAlg.Point
LinAlg.Point. norm()
static LinAlg.Point
LinAlg. project(LinAlg.Point p1, LinAlg.Point p2)
Projection of p1 on p2: p1.p2 ----- .static LinAlg.Point
LinAlg. project(LinAlg.Point p, LinAlg.Point q, LinAlg.Point v)
Projection of point q on a line through p with direction vector v If p is 0,0, it's the same as the two-argument function with the same name.static LinAlg.Point
LinAlg. rotate(LinAlg.Point p, double angle)
LinAlg.Point
LinAlg.Point. subtract(LinAlg.Point p)
Methods in org.pathvisio.libgpml.util with parameters of type LinAlg.Point Modifier and Type Method Description LinAlg.Point
LinAlg.Point. add(LinAlg.Point p)
static double
LinAlg. angle(LinAlg.Point p1, LinAlg.Point p2)
Determines angle between two vectors defined by p1 and p2 Both vectors start at 0.0static double
LinAlg. direction(LinAlg.Point p1, LinAlg.Point p2)
negative: ccw positive: cwstatic double
LinAlg. distance(LinAlg.Point p1, LinAlg.Point p2)
private static double
LinAlg. dot(LinAlg.Point v1, LinAlg.Point v2)
static LinAlg.Point
LinAlg. project(LinAlg.Point p1, LinAlg.Point p2)
Projection of p1 on p2: p1.p2 ----- .static LinAlg.Point
LinAlg. project(LinAlg.Point p, LinAlg.Point q, LinAlg.Point v)
Projection of point q on a line through p with direction vector v If p is 0,0, it's the same as the two-argument function with the same name.static LinAlg.Point
LinAlg. rotate(LinAlg.Point p, double angle)
LinAlg.Point
LinAlg.Point. subtract(LinAlg.Point p)
static double
LinAlg. toLineCoordinates(LinAlg.Point start, LinAlg.Point end, LinAlg.Point p)
Convert a 2-D point to 1-D line coordinates (relative position on the line, range {0,1})