Package | Description |
---|---|
math.geom2d.grid |
Infinite grids with various geometries.
|
math.geom2d.line |
Implementations of 'linear shapes', i.e.
|
math.geom2d.polygon |
Definitions and implementations of shapes composed several line segments:
polylines, rings, polygons.
|
Modifier and Type | Method and Description |
---|---|
Collection<LineSegment2D> |
TriangleGrid2D.getEdges(Box2D box) |
Collection<LineSegment2D> |
SquareGrid2D.getEdges(Box2D box) |
Collection<LineSegment2D> |
Grid2D.getEdges(Box2D box) |
Modifier and Type | Method and Description |
---|---|
LineSegment2D |
LineSegment2D.clone() |
static LineSegment2D |
LineSegment2D.create(Point2D p1,
Point2D p2)
Static factory for creating a new line segment between two points.
|
LineSegment2D |
LineSegment2D.getParallel(double d) |
LineSegment2D |
LineSegment2D.getReverseCurve()
Returns the LineSegment which start from last point of this line segment,
and which ends at the fist point of this last segment.
|
LineSegment2D |
LineSegment2D.transform(AffineTransform2D trans) |
Modifier and Type | Method and Description |
---|---|
static double |
LineSegment2D.getEdgeAngle(LineSegment2D edge1,
LineSegment2D edge2)
Returns angle between two edges sharing one vertex.
|
static StraightLine2D |
LineSegment2D.getMedian(LineSegment2D edge) |
static boolean |
LineSegment2D.intersects(LineSegment2D edge1,
LineSegment2D edge2)
Checks if two line segment intersect.
|
Modifier and Type | Method and Description |
---|---|
LineSegment2D |
Polyline2D.getEdge(int index) |
LineSegment2D |
Polyline2D.getFirstEdge() |
LineSegment2D |
Polyline2D.getLastEdge() |
LineSegment2D |
LinearRing2D.getLastEdge() |
Modifier and Type | Method and Description |
---|---|
Collection<LineSegment2D> |
SimplePolygon2D.getEdges()
Returns the set of edges, as a collection of LineSegment2D.
|
Collection<LineSegment2D> |
Rectangle2D.getEdges() |
Collection<LineSegment2D> |
Polyline2D.getEdges()
Returns an array of LineSegment2D.
|
Collection<? extends LineSegment2D> |
Polygon2D.getEdges()
Return the edges as line segments of the polygon
|
Collection<LineSegment2D> |
MultiPolygon2D.getEdges() |
Collection<LineSegment2D> |
LinearRing2D.getEdges()
Returns an array of LineSegment2D.
|
Collection<LineSegment2D> |
HRectangle2D.getEdges() |
Collection<? extends LineSegment2D> |
Polyline2D.getSmoothPieces() |
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.