| Package | Description |
|---|---|
| graph.math |
Classes containing various mathematical calculations and mathematical objects.
|
| Modifier and Type | Method and Description |
|---|---|
static Line |
Calc.lineThroughTwoPoints(java.awt.geom.Point2D p1,
java.awt.geom.Point2D p2)
Finds a line which goes through provided two points
|
static Line |
Calc.parallelLineThroughPoint(Line line1,
java.awt.geom.Point2D point)
Finds a line parallel to the given line containing the given point
|
static Line |
Calc.perpendicularLineIntersectingOnPoint(Line l1,
java.awt.geom.Point2D p)
Finds a line which is perpendicular to the the given line and contains it point p
|
| Modifier and Type | Method and Description |
|---|---|
static double[] |
Calc.angleBetweenTwoLines(Line l1,
Line l2)
Finds angle between the two given lines
|
static java.awt.geom.Point2D |
Calc.intersectionOfLines(Line l1,
Line l2)
Finds a point where the two given lines intersect
|
static Line |
Calc.parallelLineThroughPoint(Line line1,
java.awt.geom.Point2D point)
Finds a line parallel to the given line containing the given point
|
static Line |
Calc.perpendicularLineIntersectingOnPoint(Line l1,
java.awt.geom.Point2D p)
Finds a line which is perpendicular to the the given line and contains it point p
|
static java.awt.geom.Point2D |
Calc.symmetricPoint(java.awt.geom.Point2D p1,
Line line)
Finds a point symmetric to the given point with the axis being the provided line
|