Package | Description |
---|---|
org.osm2world.core.math |
classes for geometric objects that are used throughout OSM2World
|
org.osm2world.core.math.shapes | |
org.osm2world.core.target |
export targets for the generated models
|
org.osm2world.core.target.common | |
org.osm2world.core.world.modules |
Modifier and Type | Class and Description |
---|---|
class |
AxisAlignedBoundingBoxXZ
immutable representation of an axis-aligned bounding box
with x and z dimensions
TODO: rename to AxisAlignedRectangleXZ?
|
class |
LineSegmentXZ |
class |
PolygonXZ |
class |
SimplePolygonXZ
a non-self-intersecting polygon in the XZ plane
|
class |
TriangleXZ |
Modifier and Type | Interface and Description |
---|---|
interface |
PolygonShapeXZ
supertype for polygons, defined as closed 2d shapes with 3 or more vertices.
|
interface |
PolylineShapeXZ
a polyline (aka linestring) with at least two points.
|
interface |
SimpleClosedShapeXZ
a closed shape, covering a non-zero area, that is not self-intersecting.
|
Modifier and Type | Class and Description |
---|---|
class |
CircleXZ |
class |
PolylineXZ
a polyline (aka linestring)
|
Modifier and Type | Method and Description |
---|---|
void |
Target.drawExtrudedShape(Material material,
ShapeXZ shape,
List<VectorXYZ> path,
List<VectorXYZ> upVectors,
List<Double> scaleFactors,
List<List<VectorXZ>> texCoordLists,
EnumSet<ExtrudeOption> options)
extrudes a 2d shape along a path.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractTarget.drawExtrudedShape(Material material,
ShapeXZ shape,
List<VectorXYZ> path,
List<VectorXYZ> upVectors,
List<Double> scaleFactors,
List<List<VectorXZ>> texCoordLists,
EnumSet<ExtrudeOption> options)
draws an extruded shape using
AbstractTarget.drawTriangleStrip(Material, List, List) calls. |
Modifier and Type | Field and Description |
---|---|
protected static ShapeXZ |
RoadModule.Road.HANDRAIL_SHAPE |