| Package | Description |
|---|---|
| org.mdiutil.geom |
This package provides several utility geometry classes.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Polyline2D
This class has the same behavior than
Polygon2D, except that the figure is not closed. |
| Modifier and Type | Method and Description |
|---|---|
Polygon2D |
Polyline2D.getPolygon2D() |
| Modifier and Type | Method and Description |
|---|---|
float |
GeometryRuler.getPolygon2DArea(Polygon2D pol)
Return a Polygon area using the following formula:
area = 1/2 * (x1*y2 - x2*y1 + x2*y3 - x3*y2
|
float |
GeometryRuler.getPolygon2DLength(Polygon2D pol)
Return a Polygon2D length;
|