Package | Description |
---|---|
org.osm2world.core.map_elevation.creation | |
org.osm2world.core.map_elevation.data | |
org.osm2world.core.math |
classes for geometric objects that are used throughout OSM2World
|
org.osm2world.core.math.algorithms | |
org.osm2world.core.math.shapes | |
org.osm2world.core.world.data | |
org.osm2world.core.world.modules |
Modifier and Type | Method and Description |
---|---|
TriangleXZ |
DelaunayTriangulation.DelaunayTriangle.asTriangleXZ() |
Modifier and Type | Method and Description |
---|---|
List<TriangleXZ> |
DelaunayTriangulation.getVoronoiCellSectors(VectorXYZ point) |
List<TriangleXZ> |
DelaunayTriangulation.getVoronoiCellSectors(VectorXYZ point,
Collection<DelaunayTriangulation.DelaunayTriangle> incidentTriangles)
TODO describe effect of incident triangles
|
Modifier and Type | Method and Description |
---|---|
void |
EleConnectorGroup.addConnectorsForTriangulation(Iterable<TriangleXZ> triangles,
Object reference,
GroundState groundState) |
Collection<TriangleXYZ> |
EleConnectorGroup.getTriangulationXYZ(Collection<? extends TriangleXZ> trianglesXZ) |
Modifier and Type | Method and Description |
---|---|
TriangleXZ |
PolygonXZ.asTriangleXZ()
returns a triangle with the same vertices as this polygon.
|
TriangleXZ |
PolygonWithHolesXZ.asTriangleXZ() |
TriangleXZ |
TriangleXZ.makeClockwise()
returns this triangle if it is counterclockwise,
or the reversed triangle if it is clockwise.
|
TriangleXZ |
TriangleXZ.makeCounterclockwise()
returns this triangle if it is clockwise,
or the reversed triangle if it is counterclockwise.
|
TriangleXZ |
TriangleXZ.reverse()
returns an inversed version of this triangle.
|
Modifier and Type | Method and Description |
---|---|
Collection<TriangleXZ> |
SimplePolygonXZ.getTriangulation() |
Collection<TriangleXZ> |
TriangleXZ.getTriangulation() |
Collection<TriangleXZ> |
AxisAlignedBoundingBoxXZ.getTriangulation() |
static List<TriangleXZ> |
Poly2TriUtil.triangulate(SimplePolygonXZ polygon,
Collection<SimplePolygonXZ> holes,
Collection<LineSegmentXZ> segments,
Collection<VectorXZ> points) |
Modifier and Type | Method and Description |
---|---|
static List<TriangleXZ> |
TriangulationUtil.triangulate(PolygonWithHolesXZ polygon) |
static List<TriangleXZ> |
TriangulationUtil.triangulate(PolygonWithHolesXZ polygon,
Collection<VectorXZ> points) |
static List<TriangleXZ> |
JTSTriangulationUtil.triangulate(SimplePolygonXZ polygon,
Collection<SimplePolygonXZ> holes)
triangulation of a polygon with holes, based on a
conforming delaunay triangulation
|
static List<TriangleXZ> |
TriangulationUtil.triangulate(SimplePolygonXZ outerPolygon,
Collection<SimplePolygonXZ> holes)
triangulates a two-dimensional polygon with holes.
|
static List<TriangleXZ> |
EarClippingTriangulationUtil.triangulate(SimplePolygonXZ polygon,
Collection<SimplePolygonXZ> holes)
triangulates a two-dimensional polygon
by creating a simple polygon first
(integrating holes into the polygon outline),
then using Ear Clipping on that simple polygon.
|
static List<TriangleXZ> |
Poly2TriTriangulationUtil.triangulate(SimplePolygonXZ outerPolygon,
Collection<SimplePolygonXZ> holes,
Collection<LineSegmentXZ> segments,
Collection<VectorXZ> points)
triangulates of a polygon with holes.
|
static List<TriangleXZ> |
JTSTriangulationUtil.triangulate(SimplePolygonXZ polygon,
Collection<SimplePolygonXZ> holes,
Collection<LineSegmentXZ> segments,
Collection<VectorXZ> points)
variant of
JTSTriangulationUtil.triangulate(SimplePolygonXZ, Collection)
that accepts some unconnected points within the polygon area
and will try to create triangle vertices at these points. |
static List<TriangleXZ> |
TriangulationUtil.triangulate(SimplePolygonXZ outerPolygon,
Collection<SimplePolygonXZ> holes,
Collection<VectorXZ> points)
triangulates a two-dimensional polygon with holes and unconnected points.
|
static List<TriangleXZ> |
Poly2TriTriangulationUtil.triangulateFast(SimplePolygonXZ outerPolygon,
Collection<SimplePolygonXZ> holes,
Collection<LineSegmentXZ> segments,
Collection<VectorXZ> points)
variant of
Poly2TriTriangulationUtil.triangulate(SimplePolygonXZ, Collection, Collection, Collection)
that does not validate the input. |
Modifier and Type | Method and Description |
---|---|
Collection<TriangleXZ> |
SimpleClosedShapeXZ.getTriangulation()
returns a decomposition of the shape into triangles.
|
Collection<TriangleXZ> |
CircleXZ.getTriangulation() |
Modifier and Type | Method and Description |
---|---|
protected Collection<TriangleXZ> |
AbstractAreaWorldObject.getTriangulationXZ()
decompose this area into counterclockwise triangles.
|
Modifier and Type | Method and Description |
---|---|
protected Collection<TriangleXZ> |
SurfaceAreaModule.SurfaceArea.getTriangulationXZ()
calculates the true ground footprint of this area by removing
area covered by other overlapping features, then triangulates it
into counterclockwise triangles.
|