Package | Description |
---|---|
org.osm2world.core.map_data.data | |
org.osm2world.core.map_data.data.overlaps | |
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.modules |
Modifier and Type | Method and Description |
---|---|
LineSegmentXZ |
MapSegment.getLineSegment() |
Modifier and Type | Method and Description |
---|---|
Collection<LineSegmentXZ> |
MapOverlapWA.getOverlappedSegments() |
Collection<LineSegmentXZ> |
MapOverlapWA.getSharedSegments() |
Modifier and Type | Method and Description |
---|---|
LineSegmentXZ |
PolygonXZ.getClosestSegment(VectorXZ point)
returns the polygon segment with minimum distance to a given point
|
LineSegmentXZ |
LineSegmentXYZ.getSegmentXZ() |
LineSegmentXZ |
LineSegmentXZ.reverse()
produces the flipped version of this segment
|
Modifier and Type | Method and Description |
---|---|
List<LineSegmentXZ> |
PolygonXZ.getSegments() |
List<LineSegmentXZ> |
LineSegmentXZ.getSegments() |
List<LineSegmentXZ> |
SimplePolygonXZ.getSegments() |
Collection<LineSegmentXZ> |
PolygonXZ.intersectionSegments(LineSegmentXZ lineSegment) |
Modifier and Type | Method and Description |
---|---|
boolean |
PolygonWithHolesXZ.contains(LineSegmentXZ lineSegment) |
static double |
GeometryUtil.distanceFromLineSegment(VectorXZ p,
LineSegmentXZ s)
returns the closest distance between point p and line segment s
|
List<VectorXZ> |
PolygonXZ.intersectionPositions(LineSegmentXZ lineSegment) |
List<VectorXZ> |
PolygonWithHolesXZ.intersectionPositions(LineSegmentXZ lineSegment) |
Collection<LineSegmentXZ> |
PolygonXZ.intersectionSegments(LineSegmentXZ lineSegment) |
boolean |
PolygonXZ.intersects(LineSegmentXZ lineSegment) |
boolean |
PolygonWithHolesXZ.intersects(LineSegmentXZ lineSegment) |
static LineString |
JTSConversionUtil.lineSegmentXZToJTSLineString(LineSegmentXZ segment) |
Modifier and Type | Method and Description |
---|---|
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> |
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> |
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 |
---|---|
List<LineSegmentXZ> |
PolylineShapeXZ.getSegments()
returns the ordered list of segments between the vertices
|
List<LineSegmentXZ> |
PolylineXZ.getSegments() |
Modifier and Type | Method and Description |
---|---|
abstract Collection<LineSegmentXZ> |
BuildingModule.BuildingPart.HeightfieldRoof.getInnerSegments()
returns segments within the roof polygon
that define ridges or edges of the roof
|