Uses of Class
org.osm2world.core.math.SimplePolygonXZ

Packages that use SimplePolygonXZ
org.osm2world.core.heightmap.data   
org.osm2world.core.map_data.data   
org.osm2world.core.math classes for geometric objects that are used throughout OSM2World 
org.osm2world.core.math.algorithms   
org.osm2world.core.terrain.creation   
org.osm2world.core.world.data   
org.osm2world.core.world.modules   
org.osm2world.core.world.network functionality used by groups of features that aren't isolated, but form a "network" of nodes, ways and areas 
 

Uses of SimplePolygonXZ in org.osm2world.core.heightmap.data
 

Methods in org.osm2world.core.heightmap.data that return SimplePolygonXZ
 SimplePolygonXZ TerrainElevationCell.getPolygonXZ()
          returns the counterclockwise polygon surrounding this cell.
 

Uses of SimplePolygonXZ in org.osm2world.core.map_data.data
 

Methods in org.osm2world.core.map_data.data that return SimplePolygonXZ
 SimplePolygonXZ MapArea.getOuterPolygon()
           
static SimplePolygonXZ MapArea.polygonFromMapNodeLoop(List<MapNode> nodes)
           
 

Uses of SimplePolygonXZ in org.osm2world.core.math
 

Methods in org.osm2world.core.math that return SimplePolygonXZ
 SimplePolygonXZ SimplePolygonXZ.asSimplePolygon()
           
 SimplePolygonXZ PolygonXZ.asSimplePolygon()
          returns a polygon with the coordinates of this polygon that is an instance of SimplePolygonXZ.
 SimplePolygonXZ PolygonWithHolesXZ.getOuter()
           
 SimplePolygonXZ PolygonXYZ.getSimpleXZPolygon()
          caller must check whether flattening will result in a simple planar polygon
 SimplePolygonXZ SimplePolygonXZ.getSimplifiedPolygon()
          returns a different polygon that is constructed from this polygon by removing all vertices where this has an angle close to 180° (i.e.
 SimplePolygonXZ SimplePolygonXZ.makeClockwise()
          returns this polygon if it is counterclockwise, or the reversed polygon if it is clockwise.
 SimplePolygonXZ SimplePolygonXZ.makeCounterclockwise()
          returns this polygon if it is clockwise, or the reversed polygon if it is counterclockwise.
 SimplePolygonXZ AxisAlignedBoundingBoxXZ.polygonXZ()
           
 SimplePolygonXZ SimplePolygonXZ.reverse()
           
 SimplePolygonXZ SimplePolygonXZ.shift(VectorXZ shiftVector)
          creates a new polygon by adding a shift vector to each vector of this
 

Methods in org.osm2world.core.math that return types with arguments of type SimplePolygonXZ
 List<SimplePolygonXZ> PolygonWithHolesXZ.getHoles()
           
 List<SimplePolygonXZ> PolygonWithHolesXZ.getPolygons()
          returns a list that contains the outer polygon and all holes
 

Methods in org.osm2world.core.math with parameters of type SimplePolygonXZ
 boolean PolygonWithHolesXZ.contains(SimplePolygonXZ boundary)
           
 boolean PolygonWithHolesXZ.intersects(SimplePolygonXZ other)
           
static Polygon JTSConversionUtil.polygonXZToJTSPolygon(SimplePolygonXZ polygon)
           
 

Constructors in org.osm2world.core.math with parameters of type SimplePolygonXZ
PolygonWithHolesXZ(SimplePolygonXZ outerPolygon, List<SimplePolygonXZ> holes)
           
 

Constructor parameters in org.osm2world.core.math with type arguments of type SimplePolygonXZ
PolygonWithHolesXZ(SimplePolygonXZ outerPolygon, List<SimplePolygonXZ> holes)
           
 

Uses of SimplePolygonXZ in org.osm2world.core.math.algorithms
 

Methods in org.osm2world.core.math.algorithms with parameters of type SimplePolygonXZ
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> JTSTriangulationUtil.triangulate(SimplePolygonXZ polygon, Collection<SimplePolygonXZ> holes)
          triangulation of a polygon with holes, based on a conforming delaunay triangulation
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.
 

Method parameters in org.osm2world.core.math.algorithms with type arguments of type SimplePolygonXZ
static void EarClippingTriangulationUtil.insertHolesInPolygonOutline(List<VectorXZ> polygonOutline, Collection<SimplePolygonXZ> holes)
          inserts multiple holes into a polygon outline using EarClippingTriangulationUtil.insertHoleInPolygonOutline(List, SimplePolygonXZ, List) TODO: public for debugging purposes
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> JTSTriangulationUtil.triangulate(SimplePolygonXZ polygon, Collection<SimplePolygonXZ> holes)
          triangulation of a polygon with holes, based on a conforming delaunay triangulation
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.
 

Uses of SimplePolygonXZ in org.osm2world.core.terrain.creation
 

Methods in org.osm2world.core.terrain.creation with parameters of type SimplePolygonXZ
 PolygonXYZ TemporaryElevationStorage.restoreElevationForPolygon(SimplePolygonXZ polygon)
           
static Collection<PolygonWithHolesXZ> CAGUtil.subtractPolygons(SimplePolygonXZ basePolygon, List<? extends SimplePolygonXZ> subtractPolygons)
          takes a polygon outline, "subtracts" a collection of other polygon outlines, and returns a collection of polygons that covers the difference area.
 

Method parameters in org.osm2world.core.terrain.creation with type arguments of type SimplePolygonXZ
static Collection<PolygonWithHolesXZ> CAGUtil.intersectPolygons(List<? extends SimplePolygonXZ> intersectPolygons)
          calculates the intersection area of a collection of polygons.
static Collection<PolygonWithHolesXZ> CAGUtil.subtractPolygons(SimplePolygonXZ basePolygon, List<? extends SimplePolygonXZ> subtractPolygons)
          takes a polygon outline, "subtracts" a collection of other polygon outlines, and returns a collection of polygons that covers the difference area.
 

Uses of SimplePolygonXZ in org.osm2world.core.world.data
 

Methods in org.osm2world.core.world.data that return SimplePolygonXZ
 SimplePolygonXZ WorldObjectWithOutline.getOutlinePolygonXZ()
          returns a counterclockwise polygon defining the object's ground footprint, projected onto the XZ plane.
 SimplePolygonXZ AbstractAreaWorldObject.getOutlinePolygonXZ()
           
 

Uses of SimplePolygonXZ in org.osm2world.core.world.modules
 

Methods in org.osm2world.core.world.modules that return SimplePolygonXZ
 SimplePolygonXZ BuildingModule.Building.getOutlinePolygonXZ()
           
 SimplePolygonXZ WaterModule.Waterway.getOutlinePolygonXZ()
           
 SimplePolygonXZ TunnelModule.TunnelEntrance.getOutlinePolygonXZ()
           
 

Uses of SimplePolygonXZ in org.osm2world.core.world.network
 

Methods in org.osm2world.core.world.network that return SimplePolygonXZ
 SimplePolygonXZ VisibleConnectorNodeWorldObject.getOutlinePolygonXZ()
           
 SimplePolygonXZ AbstractNetworkWaySegmentWorldObject.getOutlinePolygonXZ()
           
 SimplePolygonXZ JunctionNodeWorldObject.getOutlinePolygonXZ()