Modifier and Type | Method and Description |
---|---|
protected Float |
FlatTerrainElevation.getElevation(VectorXZ pos) |
protected Float |
EmptyTerrainElevationGrid.getElevation(VectorXZ pos) |
protected Float |
WaveTerrainElevation.getElevation(VectorXZ pos) |
Modifier and Type | Method and Description |
---|---|
VectorXZ |
TerrainPoint.getPos() |
Modifier and Type | Method and Description |
---|---|
protected abstract Float |
AbstractCellularTerrainElevation.getElevation(VectorXZ pos) |
Constructor and Description |
---|
TerrainPoint(VectorXZ pos,
Float ele) |
Modifier and Type | Method and Description |
---|---|
VectorXZ |
OrthographicAzimuthalMapProjection.calcPos(double latDeg,
double lonDeg) |
VectorXZ |
MetricMapProjection.calcPos(double lat,
double lon) |
VectorXZ |
MapProjection.calcPos(double lat,
double lon) |
VectorXZ |
OrthographicAzimuthalMapProjection.calcPos(LatLon latlon) |
VectorXZ |
MetricMapProjection.calcPos(LatLon latlon) |
VectorXZ |
MapProjection.calcPos(LatLon latlon) |
VectorXZ |
OrthographicAzimuthalMapProjection.getNorthUnit() |
VectorXZ |
MetricMapProjection.getNorthUnit() |
VectorXZ |
MapProjection.getNorthUnit()
returns a vector that points one meter to the north
from the position that becomes the coordinate origin
|
Modifier and Type | Method and Description |
---|---|
double |
OrthographicAzimuthalMapProjection.calcLat(VectorXZ pos) |
double |
MetricMapProjection.calcLat(VectorXZ pos) |
double |
MapProjection.calcLat(VectorXZ pos)
inverse for
MapProjection.calcPos(double, double) |
double |
OrthographicAzimuthalMapProjection.calcLon(VectorXZ pos) |
double |
MetricMapProjection.calcLon(VectorXZ pos) |
double |
MapProjection.calcLon(VectorXZ pos)
inverse for
MapProjection.calcPos(double, double) |
Modifier and Type | Method and Description |
---|---|
VectorXZ |
MapData.getCenter()
calculates the center from the
MapNode s' positions |
VectorXZ |
MapSegment.getCenter()
returns the center of the line
|
VectorXZ |
MapSegment.getDirection()
returns a normalized vector indicating the line's horizontal direction
|
VectorXZ |
MapNode.getPos() |
VectorXZ |
MapSegment.getRightNormal()
returns a the result of applying
rightNormal()
to vector returned by MapSegment.getDirection() |
Constructor and Description |
---|
MapNode(VectorXZ pos,
OSMNode osmNode) |
Modifier and Type | Field and Description |
---|---|
VectorXZ |
MapIntersectionWW.pos |
Modifier and Type | Method and Description |
---|---|
List<VectorXZ> |
MapOverlapWA.getIntersectionPositions()
same order as
MapOverlapWA.getIntersectingAreaSegments() |
Collection<VectorXZ> |
MapOverlapAA.getIntersectionPositions() |
Constructor and Description |
---|
MapIntersectionWW(MapWaySegment line1,
MapWaySegment line2,
VectorXZ pos) |
Constructor and Description |
---|
MapOverlapWA(MapWaySegment waySegment,
MapArea area,
MapOverlapType type,
List<VectorXZ> intersectionPositions,
List<MapAreaSegment> intersectingAreaSegments) |
Modifier and Type | Method and Description |
---|---|
VectorXZ |
DelaunayTriangulation.DelaunayTriangle.getCircumcircleCenter() |
Modifier and Type | Method and Description |
---|---|
DelaunayTriangulation.DelaunayTriangle |
DelaunayTriangulation.getEnlosingTriangle(VectorXZ point)
returns the triangle containing the given point
|
VectorXYZ |
TerrainInterpolator.interpolateEle(VectorXZ pos) |
VectorXYZ |
InverseDistanceWeightingInterpolator.interpolateEle(VectorXZ pos) |
VectorXYZ |
NaturalNeighborInterpolator.interpolateEle(VectorXZ pos) |
VectorXYZ |
LeastSquaresInterpolator.interpolateEle(VectorXZ pos) |
VectorXYZ |
ZeroInterpolator.interpolateEle(VectorXZ pos) |
VectorXYZ |
LinearInterpolator.interpolateEle(VectorXZ pos) |
DelaunayTriangulation.NaturalNeighbors |
DelaunayTriangulation.probe(VectorXZ point)
temporarily inserts a point to calculate its natural neighbors,
then undoes the insertion
|
Modifier and Type | Field and Description |
---|---|
VectorXZ |
EleConnector.pos |
Modifier and Type | Method and Description |
---|---|
EleConnector |
EleConnectorGroup.getConnector(VectorXZ pos) |
abstract double |
ElevationProfile.getEleAt(VectorXZ pos) |
double |
AreaElevationProfile.getEleAt(VectorXZ pos) |
double |
NodeElevationProfile.getEleAt(VectorXZ pos) |
double |
WaySegmentElevationProfile.getEleAt(VectorXZ pos) |
VectorXYZ |
EleConnectorGroup.getPosXYZ(VectorXZ pos) |
VectorXYZ |
ElevationProfile.getWithEle(VectorXZ pos) |
VectorXYZ |
AreaElevationProfile.getWithEle(VectorXZ pos) |
VectorXYZ |
NodeElevationProfile.getWithEle(VectorXZ pos) |
Modifier and Type | Method and Description |
---|---|
void |
EleConnectorGroup.addConnectorsFor(Iterable<VectorXZ> positions,
Object reference,
GroundState groundState) |
List<EleConnector> |
EleConnectorGroup.getConnectors(Iterable<VectorXZ> positions) |
List<VectorXYZ> |
EleConnectorGroup.getPosXYZ(Collection<VectorXZ> positions) |
List<VectorXYZ> |
ElevationProfile.getWithEle(List<VectorXZ> posList) |
void |
AreaElevationProfile.setEleFunction(Function<VectorXZ,VectorXYZ> eleFunction) |
Constructor and Description |
---|
EleConnector(VectorXZ pos,
Object reference,
GroundState groundState)
creates an EleConnector at the given xz coordinates.
|
Modifier and Type | Field and Description |
---|---|
static VectorXZ |
VectorXZ.NULL_VECTOR |
VectorXZ |
LineSegmentXZ.p1 |
VectorXZ |
LineSegmentXZ.p2 |
VectorXZ |
TriangleXZ.v1 |
VectorXZ |
TriangleXZ.v2 |
VectorXZ |
TriangleXZ.v3 |
static VectorXZ |
VectorXZ.X_UNIT |
static VectorXZ |
VectorXZ.Z_UNIT |
Modifier and Type | Field and Description |
---|---|
protected List<VectorXZ> |
PolygonXZ.vertexLoop
polygon vertices; first and last vertex are equal
|
Modifier and Type | Method and Description |
---|---|
VectorXZ |
VectorXZ.add(VectorXZ other)
adds the parameter to this vector and returns the result
|
VectorXZ |
AxisAlignedBoundingBoxXZ.bottomLeft() |
VectorXZ |
AxisAlignedBoundingBoxXZ.bottomRight() |
VectorXZ |
AxisAlignedBoundingBoxXZ.center() |
static VectorXZ |
VectorXZ.fromAngle(double directionRad)
returns a unit vector based on an angular direction.
|
VectorXZ |
VectorGridXZ.get(int indexX,
int indexZ) |
VectorXZ |
PolygonXZ.getCenter()
returns the average of all vertex coordinates.
|
VectorXZ |
LineSegmentXZ.getCenter() |
VectorXZ |
TriangleXZ.getCenter() |
VectorXZ |
SimplePolygonXZ.getCentroid()
returns the centroid (or "barycenter") of the polygon
|
VectorXZ |
LineSegmentXZ.getIntersection(VectorXZ segmentP1,
VectorXZ segmentP2)
returns the intersection between this line segment and
the line segment defined by the parameters;
null if none exists.
|
static VectorXZ |
GeometryUtil.getLineIntersection(VectorXZ pointA,
VectorXZ directionA,
VectorXZ pointB,
VectorXZ directionB)
returns the position vector where two lines intersect.
|
static VectorXZ |
GeometryUtil.getLineSegmentIntersection(VectorXZ pointA1,
VectorXZ pointA2,
VectorXZ pointB1,
VectorXZ pointB2)
returns the position vector where two line segments intersect.
|
static VectorXZ |
GeometryUtil.getTrueLineSegmentIntersection(VectorXZ pointA1,
VectorXZ pointA2,
VectorXZ pointB1,
VectorXZ pointB2)
variant of
GeometryUtil.getLineSegmentIntersection(VectorXZ, VectorXZ, VectorXZ, VectorXZ)
that also returns null (= does not announce an intersection)
if the two segments share an end point |
VectorXZ |
PolygonXZ.getVertex(int index)
returns the vertex at a position in the vertex sequence
|
VectorXZ |
PolygonXZ.getVertexAfter(int index)
returns the successor of the vertex at a position in the vertex sequence.
|
VectorXZ |
PolygonXZ.getVertexBefore(int index)
returns the predecessor of the vertex at a position in the vertex sequence.
|
static VectorXZ |
GeometryUtil.interpolateBetween(VectorXZ pos1,
VectorXZ pos2,
double influenceRatioPos2)
returns a point on a line segment between pos1 and pos2,
with parameterized placement between the two end nodes.
|
VectorXZ |
VectorXZ.invert() |
VectorXZ |
VectorXZ.mult(double scalar) |
VectorXZ |
VectorXZ.normalize() |
VectorXZ |
VectorXZ.rightNormal()
returns the vector that would result from calculating the
cross product of this vector (normalized and extended
to three dimensions) and (0,1,0).
|
VectorXZ |
VectorXZ.rotate(double angleRad)
returns the result of rotating this vector clockwise around the origin
|
VectorXZ |
VectorXZ.subtract(VectorXZ other)
subtracts the parameter from this vector and returns the result
|
VectorXZ |
AxisAlignedBoundingBoxXZ.topLeft() |
VectorXZ |
AxisAlignedBoundingBoxXZ.topRight() |
static VectorXZ |
JTSConversionUtil.vectorXZFromJTSCoordinate(Coordinate c) |
VectorXZ |
Vector3D.xz() |
VectorXZ |
VectorXYZ.xz() |
VectorXZ |
VectorXZ.xz() |
Modifier and Type | Method and Description |
---|---|
static List<VectorXZ> |
GeometryUtil.distributePointsOn(long seed,
PolygonWithHolesXZ polygonWithHolesXZ,
AxisAlignedBoundingBoxXZ boundary,
double density,
double minimumDistance)
distributes points pseudo-randomly on a polygon area.
|
static List<VectorXZ> |
GeometryUtil.equallyDistributePointsAlong(double preferredDistance,
boolean pointsAtStartAndEnd,
VectorXZ lineStart,
VectorXZ lineEnd)
distributes points along a line segment.
|
List<VectorXZ> |
PolygonXZ.getVertexCollection()
returns a collection that contains all vertices of this polygon
at least once.
|
List<VectorXZ> |
PolygonXZ.getVertexList()
returns the polygon's vertices.
|
List<VectorXZ> |
LineSegmentXZ.getVertexList()
returns a list containing the two vertices
LineSegmentXZ.p1 and LineSegmentXZ.p2 |
List<VectorXZ> |
TriangleXZ.getVertexList() |
List<VectorXZ> |
AxisAlignedBoundingBoxXZ.getVertexList() |
List<VectorXZ> |
PolygonXZ.getVertexLoop()
Deprecated.
Use the equivalent
PolygonXZ.getVertexList() instead. |
List<VectorXZ> |
PolygonXZ.getVertices()
returns the polygon's vertices.
|
List<VectorXZ> |
PolygonXZ.intersectionPositions(LineSegmentXZ lineSegment) |
List<VectorXZ> |
PolygonWithHolesXZ.intersectionPositions(LineSegmentXZ lineSegment) |
Collection<VectorXZ> |
PolygonWithHolesXZ.intersectionPositions(PolygonWithHolesXZ p2) |
Iterator<VectorXZ> |
VectorGridXZ.iterator() |
static Function<VectorXZ,VectorXYZ> |
VectorXZ.xyzFunction(double y) |
Modifier and Type | Method and Description |
---|---|
VectorXYZ |
VectorXYZ.add(VectorXZ other) |
VectorXZ |
VectorXZ.add(VectorXZ other)
adds the parameter to this vector and returns the result
|
static double |
VectorXZ.angleBetween(VectorXZ v1,
VectorXZ v2)
returns the angle between two direction vectors
|
double |
VectorXZ.angleTo(VectorXZ other) |
static boolean |
SimplePolygonXZ.contains(List<VectorXZ> polygonVertexLoop,
VectorXZ test)
returns true if the polygon defined by the polygonVertexLoop parameter
contains a given position
|
boolean |
PolygonWithHolesXZ.contains(VectorXZ v) |
boolean |
SimplePolygonXZ.contains(VectorXZ test)
returns true if the polygon contains a given position
|
boolean |
TriangleXZ.contains(VectorXZ point) |
boolean |
AxisAlignedBoundingBoxXZ.contains(VectorXZ v) |
static double |
VectorXZ.distance(VectorXZ v1,
VectorXZ v2) |
static double |
GeometryUtil.distanceFromLine(VectorXZ p,
VectorXZ v1,
VectorXZ v2)
returns the closest distance between point p and a line defined by two points
|
static double |
GeometryUtil.distanceFromLineSegment(VectorXZ p,
LineSegmentXZ s)
returns the closest distance between point p and line segment s
|
static double |
VectorXZ.distanceSquared(VectorXZ v1,
VectorXZ v2) |
double |
VectorXZ.distanceTo(VectorXZ other) |
double |
SimplePolygonXZ.distanceToSegments(VectorXZ p)
returns the distance of a point to the segments this polygon.
|
double |
VectorXYZ.distanceToXZ(VectorXZ other) |
double |
VectorXZ.dot(VectorXZ other) |
static List<VectorXZ> |
GeometryUtil.equallyDistributePointsAlong(double preferredDistance,
boolean pointsAtStartAndEnd,
VectorXZ lineStart,
VectorXZ lineEnd)
distributes points along a line segment.
|
LineSegmentXZ |
PolygonXZ.getClosestSegment(VectorXZ point)
returns the polygon segment with minimum distance to a given point
|
VectorXZ |
LineSegmentXZ.getIntersection(VectorXZ segmentP1,
VectorXZ segmentP2)
returns the intersection between this line segment and
the line segment defined by the parameters;
null if none exists.
|
static VectorXZ |
GeometryUtil.getLineIntersection(VectorXZ pointA,
VectorXZ directionA,
VectorXZ pointB,
VectorXZ directionB)
returns the position vector where two lines intersect.
|
static VectorXZ |
GeometryUtil.getLineSegmentIntersection(VectorXZ pointA1,
VectorXZ pointA2,
VectorXZ pointB1,
VectorXZ pointB2)
returns the position vector where two line segments intersect.
|
static VectorXZ |
GeometryUtil.getTrueLineSegmentIntersection(VectorXZ pointA1,
VectorXZ pointA2,
VectorXZ pointB1,
VectorXZ pointB2)
variant of
GeometryUtil.getLineSegmentIntersection(VectorXZ, VectorXZ, VectorXZ, VectorXZ)
that also returns null (= does not announce an intersection)
if the two segments share an end point |
double |
TriangleXYZ.getYAt(VectorXZ pos)
returns the triangle's y coord value at a
VectorXZ within the
triangle's 2D footprint. |
static PolygonXZ |
GeometryUtil.insertIntoPolygon(PolygonXZ polygon,
VectorXZ point,
double snapDistance)
returns a polygon that is constructed from a given polygon
by inserting a point into one of the segments of the original polygon.
|
static VectorXZ |
GeometryUtil.interpolateBetween(VectorXZ pos1,
VectorXZ pos2,
double influenceRatioPos2)
returns a point on a line segment between pos1 and pos2,
with parameterized placement between the two end nodes.
|
static VectorXYZ |
GeometryUtil.interpolateElevation(VectorXZ posForEle,
VectorXYZ pos1,
VectorXYZ pos2)
performs linear interpolation of elevation information
for a position on a line segment
|
static double |
GeometryUtil.interpolateValue(VectorXZ posForValue,
VectorXZ pos1,
double valueAt1,
VectorXZ pos2,
double valueAt2)
performs linear interpolation of any value for a position on a line segment
|
boolean |
PolygonXZ.intersects(VectorXZ segmentP1,
VectorXZ segmentP2)
returns true if there is an intersection between this polygon
and the line segment defined by the parameter
|
boolean |
LineSegmentXZ.intersects(VectorXZ segmentP1,
VectorXZ segmentP2)
returns true if there is an intersection between this line segment and
the line segment defined by the parameters
|
static boolean |
GeometryUtil.isBetween(VectorXZ p,
VectorXZ l1,
VectorXZ l2)
returns true if p is "between" l1 and l2,
i.e.
|
static boolean |
GeometryUtil.isRightOf(VectorXZ p,
VectorXZ l1,
VectorXZ l2)
returns true if the point p is on the right of the line though l1 and l2
|
SimplePolygonXZ |
SimplePolygonXZ.shift(VectorXZ shiftVector)
creates a new polygon by adding a shift vector to each vector of this
|
VectorXYZ |
VectorXYZ.subtract(VectorXZ other) |
VectorXZ |
VectorXZ.subtract(VectorXZ other)
subtracts the parameter from this vector and returns the result
|
static Coordinate |
JTSConversionUtil.vectorXZToJTSCoordinate(VectorXZ v) |
Modifier and Type | Method and Description |
---|---|
protected static void |
PolygonXZ.assertLoopProperty(List<VectorXZ> vertexLoop)
checks that the first and last vertex of the vertex list are equal.
|
static List<VectorXYZW> |
GeometryUtil.calculateTangentVectorsForTexLayer(List<VectorXYZ> vertices,
List<VectorXYZ> normals,
List<VectorXZ> texCoords)
Calculate consistent tangent vectors for given vertices and vertex normals and texture coordinates.
|
static boolean |
SimplePolygonXZ.contains(List<VectorXZ> polygonVertexLoop,
VectorXZ test)
returns true if the polygon defined by the polygonVertexLoop parameter
contains a given position
|
static boolean |
PolygonXZ.isSelfIntersecting(List<VectorXZ> polygonVertexLoop)
returns true if the polygon defined by the polygonVertexLoop parameter
is self-intersecting.
The Code is based on Shamos-Hoey's algorithm TODO: if the end vertex of two line segments are the same the polygon is never considered as self intersecting on purpose. |
static List<VectorXYZ> |
VectorXZ.listXYZ(List<VectorXZ> vs,
double y) |
static List<TriangleXZ> |
Poly2TriUtil.triangulate(SimplePolygonXZ polygon,
Collection<SimplePolygonXZ> holes,
Collection<LineSegmentXZ> segments,
Collection<VectorXZ> points) |
Constructor and Description |
---|
LineSegmentXZ(VectorXZ p1,
VectorXZ p2) |
TriangleXZ(VectorXZ v1,
VectorXZ v2,
VectorXZ v3) |
Constructor and Description |
---|
PolygonXZ(List<VectorXZ> vertexLoop) |
SimplePolygonXZ(List<VectorXZ> vertexLoop) |
Modifier and Type | Method and Description |
---|---|
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(PolygonWithHolesXZ polygon,
Collection<VectorXZ> points) |
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 |
---|---|
VectorXZ |
CircleXZ.getCenter() |
VectorXZ |
PolylineXZ.pointAtOffset(double offset)
returns the point at a given distance from the start of this linestring.
|
Modifier and Type | Method and Description |
---|---|
List<VectorXZ> |
CircleXZ.getVertexList() |
List<VectorXZ> |
ShapeXZ.getVertexList()
returns the shape's vertices.
|
List<VectorXZ> |
PolylineXZ.getVertexList() |
List<VectorXZ> |
CircleXZ.getVertexList(int numPoints) |
Modifier and Type | Method and Description |
---|---|
double |
PolylineXZ.offsetOf(VectorXZ point)
returns the length between the start of this polyline and a given point on it
|
Constructor and Description |
---|
CircleXZ(VectorXZ center,
double radius) |
PolylineXZ(VectorXZ... vertices) |
Constructor and Description |
---|
PolylineXZ(List<VectorXZ> vertices) |
Modifier and Type | Method and Description |
---|---|
void |
Target.drawBox(Material material,
VectorXYZ bottomCenter,
VectorXZ faceDirection,
double height,
double width,
double depth)
draws a box with outward-facing polygons.
|
Modifier and Type | Method and Description |
---|---|
void |
Target.drawConvexPolygon(Material material,
List<VectorXYZ> vs,
List<List<VectorXZ>> texCoordLists)
draws a convex polygon
|
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.
|
void |
Target.drawTriangleFan(Material material,
List<VectorXYZ> vs,
List<List<VectorXZ>> texCoordLists)
draws a triangle fan.
|
void |
Target.drawTriangles(Material material,
Collection<? extends TriangleXYZ> triangles,
List<List<VectorXZ>> texCoordLists)
draws triangles.
|
void |
Target.drawTriangleStrip(Material material,
List<VectorXYZ> vs,
List<List<VectorXZ>> texCoordLists)
draws a triangle strip.
|
void |
Target.drawTrianglesWithNormals(Material material,
Collection<? extends TriangleXYZWithNormals> triangles,
List<List<VectorXZ>> texCoordLists)
draws triangles with explicitly defined normal vectors.
|
Modifier and Type | Field and Description |
---|---|
protected static List<VectorXZ> |
AbstractTarget.BOX_TEX_COORDS_1 |
protected static List<VectorXZ> |
AbstractTarget.BOX_TEX_COORDS_2 |
List<List<VectorXZ>> |
FaceTarget.Face.texCoordLists |
List<List<VectorXZ>> |
FaceTarget.IsolatedTriangle.texCoordLists |
List<List<VectorXZ>> |
Primitive.texCoordLists |
Modifier and Type | Method and Description |
---|---|
void |
AbstractTarget.drawBox(Material material,
VectorXYZ bottomCenter,
VectorXZ faceDirection,
double height,
double width,
double depth) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractTarget.drawConvexPolygon(Material material,
List<VectorXYZ> vs,
List<List<VectorXZ>> texCoordLists) |
void |
FaceTarget.drawConvexPolygon(Material material,
List<VectorXYZ> vs,
List<List<VectorXZ>> texCoordLists) |
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. |
abstract void |
FaceTarget.drawFace(Material material,
List<VectorXYZ> vs,
List<VectorXYZ> normals,
List<List<VectorXZ>> texCoordLists) |
protected abstract void |
PrimitiveTarget.drawPrimitive(Primitive.Type type,
Material material,
List<VectorXYZ> vs,
List<VectorXYZ> normals,
List<List<VectorXZ>> texCoordLists) |
void |
AbstractTarget.drawTriangleFan(Material material,
List<VectorXYZ> vs,
List<List<VectorXZ>> texCoordLists) |
void |
PrimitiveTarget.drawTriangleFan(Material material,
List<VectorXYZ> vs,
List<List<VectorXZ>> texCoordLists) |
void |
PrimitiveTarget.drawTriangles(Material material,
Collection<? extends TriangleXYZ> triangles,
List<List<VectorXZ>> texCoordLists) |
void |
FaceTarget.drawTriangles(Material material,
Collection<? extends TriangleXYZ> triangles,
List<List<VectorXZ>> texCoordLists) |
void |
AbstractTarget.drawTriangleStrip(Material material,
List<VectorXYZ> vs,
List<List<VectorXZ>> texCoordLists) |
void |
PrimitiveTarget.drawTriangleStrip(Material material,
List<VectorXYZ> vs,
List<List<VectorXZ>> texCoordLists) |
void |
PrimitiveTarget.drawTrianglesWithNormals(Material material,
Collection<? extends TriangleXYZWithNormals> triangles,
List<List<VectorXZ>> texCoordLists) |
void |
FaceTarget.drawTrianglesWithNormals(Material material,
Collection<? extends TriangleXYZWithNormals> triangles,
List<List<VectorXZ>> texCoordLists) |
Constructor and Description |
---|
FaceTarget.Face(List<VectorXYZ> vs,
List<List<VectorXZ>> texCoordLists,
VectorXYZ normal) |
FaceTarget.IsolatedTriangle(TriangleXYZ triangle,
VectorXYZ normal,
int texCoordOffset,
List<List<VectorXZ>> texCoordLists) |
Primitive(Primitive.Type type,
List<VectorXYZ> vertices,
List<VectorXYZ> normals,
List<List<VectorXZ>> texCoordLists) |
Modifier and Type | Method and Description |
---|---|
List<VectorXZ> |
TexCoordFunction.apply(List<VectorXYZ> vs,
TextureData textureData)
calculates a texture coordinate for each vertex
|
List<VectorXZ> |
NamedTexCoordFunction.apply(List<VectorXYZ> vs,
TextureData textureData) |
static List<List<VectorXZ>> |
TexCoordUtil.texCoordLists(List<VectorXYZ> vs,
Material material,
TexCoordFunction defaultCoordFunction)
calculates the texture coordinate lists based on the
TexCoordFunction associated with each TextureData layer |
static List<List<VectorXZ>> |
TexCoordUtil.triangleTexCoordLists(Collection<TriangleXYZ> triangles,
Material material,
TexCoordFunction defaultCoordFunction)
equivalent of
TexCoordUtil.texCoordLists(List, Material, TexCoordFunction)
for a collection of triangle objects. |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
VBOData.put(BufferT buffer,
VectorXZ texCoord)
add a texture coordinate to the vbo buffer
|
Modifier and Type | Method and Description |
---|---|
static void |
JOGLTargetFixedFunction.drawPrimitive(GL2 gl,
int glPrimitiveType,
List<VectorXYZ> vertices,
List<VectorXYZ> normals,
List<List<VectorXZ>> texCoordLists) |
protected void |
PrimitiveBuffer.drawPrimitive(Primitive.Type type,
Material material,
List<VectorXYZ> vertices,
List<VectorXYZ> normals,
List<List<VectorXZ>> texCoordLists) |
protected void |
AbstractJOGLTarget.drawPrimitive(Primitive.Type type,
Material material,
List<VectorXYZ> vertices,
List<VectorXYZ> normals,
List<List<VectorXZ>> texCoordLists) |
Modifier and Type | Method and Description |
---|---|
void |
ObjTarget.drawFace(Material material,
List<VectorXYZ> vs,
List<VectorXYZ> normals,
List<List<VectorXZ>> texCoordLists) |
void |
ObjTarget.drawTrianglesWithNormals(Material material,
Collection<? extends TriangleXYZWithNormals> triangles,
List<List<VectorXZ>> texCoordLists) |
Modifier and Type | Method and Description |
---|---|
void |
POVRayTarget.appendInverseVector(VectorXZ vector)
append a vector with inverted coordinates
|
void |
POVRayTarget.appendPrism(float y1,
float y2,
VectorXZ... vs) |
void |
POVRayTarget.appendTriangle(VectorXYZ a,
VectorXYZ b,
VectorXYZ c,
VectorXYZ na,
VectorXYZ nb,
VectorXYZ nc,
VectorXZ ta,
VectorXZ tb,
VectorXZ tc,
boolean smooth,
boolean texture) |
void |
POVRayTarget.appendVector(VectorXZ vector)
alternative to
POVRayTarget.appendVector(double, double)
using a vector object as parameter instead of individual coordinates |
Modifier and Type | Method and Description |
---|---|
void |
POVRayTarget.drawConvexPolygon(Material material,
List<VectorXYZ> vs,
List<List<VectorXZ>> texCoordLists) |
void |
POVRayTarget.drawTriangles(Material material,
Collection<? extends TriangleXYZ> triangles,
List<List<VectorXZ>> texCoordLists) |
void |
POVRayTarget.drawTrianglesWithNormals(Material material,
Collection<? extends TriangleXYZWithNormals> triangles,
List<List<VectorXZ>> texCoordLists) |
Modifier and Type | Method and Description |
---|---|
protected void |
StatisticsTarget.drawPrimitive(Primitive.Type type,
Material material,
List<VectorXYZ> vs,
List<VectorXYZ> normals,
List<List<VectorXZ>> texCoordLists) |
Modifier and Type | Method and Description |
---|---|
VectorXZ |
WaySegmentWorldObject.getEndPosition()
returns the end position.
|
VectorXZ |
NoOutlineWaySegmentWorldObject.getEndPosition() |
VectorXZ |
WaySegmentWorldObject.getStartPosition()
returns the start position.
|
VectorXZ |
NoOutlineWaySegmentWorldObject.getStartPosition() |
Modifier and Type | Field and Description |
---|---|
VectorXZ |
RoadModule.Road.endCoord |
VectorXZ |
RoadModule.Road.startCoord |
Modifier and Type | Method and Description |
---|---|
VectorXZ |
TreeModule.TreeRow.getEndPosition() |
VectorXZ |
TreeModule.TreeRow.getStartPosition() |
Modifier and Type | Method and Description |
---|---|
abstract Collection<VectorXZ> |
BuildingModule.BuildingPart.HeightfieldRoof.getInnerPoints()
returns segments within the roof polygon
that define apex nodes of the roof
|
Modifier and Type | Method and Description |
---|---|
double |
BuildingModule.BuildingPart.getClearingAbove(VectorXZ pos) |
protected abstract Double |
BuildingModule.BuildingPart.HeightfieldRoof.getRoofEleAt_noInterpolation(VectorXZ pos)
returns roof elevation at a position.
|
double |
BuildingModule.BuildingPart.Roof.getRoofEleAt(VectorXZ coord)
returns roof elevation at a position.
|
double |
BuildingModule.BuildingPart.HeightfieldRoof.getRoofEleAt(VectorXZ v) |
Modifier and Type | Method and Description |
---|---|
VectorXZ |
BridgeOrTunnel.getEndPosition() |
VectorXZ |
BridgeOrTunnel.getStartPosition() |
Modifier and Type | Method and Description |
---|---|
static void |
WorldModuleGeometryUtil.filterWorldObjectCollisions(Collection<VectorXZ> positions,
Collection<WorldObject> worldObjects)
removes positions from a collection if they are on the area covered by a
WorldObjectWithOutline from a collection of WorldObject s. |
Modifier and Type | Field and Description |
---|---|
protected VectorXZ |
VisibleConnectorNodeWorldObject.cutVector |
protected VectorXZ |
VisibleConnectorNodeWorldObject.endPos |
protected VectorXZ |
VisibleConnectorNodeWorldObject.startPos |
Modifier and Type | Field and Description |
---|---|
protected List<VectorXZ> |
JunctionNodeWorldObject.cutCenters |
protected List<VectorXZ> |
JunctionNodeWorldObject.cutVectors |
Modifier and Type | Method and Description |
---|---|
protected VectorXZ |
JunctionNodeWorldObject.getCutNode(int i,
boolean right)
calculates the left or right node of a cut
(Only available if junction information for this representation has been
provided using
JunctionNodeWorldObject.setInformation(List, List, List) ). |
VectorXZ |
AbstractNetworkWaySegmentWorldObject.getCutVectorAt(MapNode node) |
VectorXZ |
NetworkWaySegmentWorldObject.getEndCutVector()
returns the cut vector for the end of the line.
|
VectorXZ |
AbstractNetworkWaySegmentWorldObject.getEndCutVector() |
VectorXZ |
NetworkWaySegmentWorldObject.getEndOffset()
returns the current offset for the end of the line.
|
VectorXZ |
AbstractNetworkWaySegmentWorldObject.getEndOffset() |
VectorXZ |
AbstractNetworkWaySegmentWorldObject.getEndPosition() |
protected VectorXZ |
AbstractNetworkWaySegmentWorldObject.getEndWithOffset() |
VectorXZ |
NetworkWaySegmentWorldObject.getStartCutVector()
returns the cut vector for the start of the line.
|
VectorXZ |
AbstractNetworkWaySegmentWorldObject.getStartCutVector() |
VectorXZ |
NetworkWaySegmentWorldObject.getStartOffset()
returns the current offset for the end of the line.
|
VectorXZ |
AbstractNetworkWaySegmentWorldObject.getStartOffset() |
VectorXZ |
AbstractNetworkWaySegmentWorldObject.getStartPosition() |
protected VectorXZ |
AbstractNetworkWaySegmentWorldObject.getStartWithOffset() |
Modifier and Type | Method and Description |
---|---|
List<VectorXZ> |
AbstractNetworkWaySegmentWorldObject.getCenterlineXZ()
returns a sequence of node running along the center of the
line from start to end (each with offset).
|
List<VectorXZ> |
JunctionNodeWorldObject.getOutline(int from,
int to)
provides outline for the areas covered by the junction.
|
List<VectorXZ> |
AbstractNetworkWaySegmentWorldObject.getOutlineXZ(boolean right)
|
protected List<VectorXZ> |
VisibleConnectorNodeWorldObject.getOutlineXZ(int from,
int to)
provides outline for the areas covered by the connector.
|
Modifier and Type | Method and Description |
---|---|
void |
NetworkWaySegmentWorldObject.setEndCutVector(VectorXZ cutVector)
Sets the cut vector for the end of the line.
|
void |
AbstractNetworkWaySegmentWorldObject.setEndCutVector(VectorXZ cutVector) |
void |
NetworkWaySegmentWorldObject.setEndOffset(VectorXZ offsetVector)
Sets the offset for the end of the line.
|
void |
AbstractNetworkWaySegmentWorldObject.setEndOffset(VectorXZ offsetVector) |
void |
VisibleConnectorNodeWorldObject.setInformation(VectorXZ cutVector,
VectorXZ startPos,
VectorXZ endPos,
float startWidth,
float endWidth)
sets the results of
NetworkCalculator 's calculations. |
void |
NetworkWaySegmentWorldObject.setStartCutVector(VectorXZ cutVector)
Sets the cut vector for the start of the line.
|
void |
AbstractNetworkWaySegmentWorldObject.setStartCutVector(VectorXZ cutVector) |
void |
NetworkWaySegmentWorldObject.setStartOffset(VectorXZ offsetVector)
Sets the offset for the start of the line.
|
void |
AbstractNetworkWaySegmentWorldObject.setStartOffset(VectorXZ offsetVector) |
Modifier and Type | Method and Description |
---|---|
void |
JunctionNodeWorldObject.setInformation(List<VectorXZ> cutCenters,
List<VectorXZ> cutVectors,
List<Float> widths)
sets the results of
NetworkCalculator 's calculations. |
void |
JunctionNodeWorldObject.setInformation(List<VectorXZ> cutCenters,
List<VectorXZ> cutVectors,
List<Float> widths)
sets the results of
NetworkCalculator 's calculations. |
Modifier and Type | Method and Description |
---|---|
protected static void |
DebugView.drawBoxAround(JOGLTarget target,
VectorXZ center,
Color color,
float halfWidth) |