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

Packages that use VectorXYZ
org.osm2world.core.heightmap.data   
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.target export targets for the generated models 
org.osm2world.core.target.common   
org.osm2world.core.target.common.rendering   
org.osm2world.core.target.jogl   
org.osm2world.core.target.povray target that creates .pov files for the POVRay raytracer 
org.osm2world.core.target.primitivebuffer   
org.osm2world.core.terrain.creation   
org.osm2world.core.world.modules.common   
org.osm2world.core.world.network functionality used by groups of features that aren't isolated, but form a "network" of nodes, ways and areas 
org.osm2world.viewer.view.debug   
 

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

Methods in org.osm2world.core.heightmap.data that return VectorXYZ
 VectorXYZ TerrainPoint.getPosXYZ()
           
 

Uses of VectorXYZ in org.osm2world.core.map_elevation.creation
 

Methods in org.osm2world.core.map_elevation.creation that return VectorXYZ
 VectorXYZ ElevationCalculator.ElevationDeterminationScenario.ForceNode.getCurrentXYZ()
          returns the current 3d position
 

Uses of VectorXYZ in org.osm2world.core.map_elevation.data
 

Methods in org.osm2world.core.map_elevation.data that return VectorXYZ
 VectorXYZ NodeElevationProfile.getPointWithEle()
           
 VectorXYZ ElevationProfile.getWithEle(VectorXZ pos)
           
 

Methods in org.osm2world.core.map_elevation.data that return types with arguments of type VectorXYZ
 Collection<VectorXYZ> AreaElevationProfile.getPointsWithEle()
          returns all points on the area where elevation values exist.
 List<VectorXYZ> WaySegmentElevationProfile.getPointsWithEle()
          returns all points along the line where elevation values exist.
 List<VectorXYZ> ElevationProfile.getWithEle(List<VectorXZ> posList)
           
 

Methods in org.osm2world.core.map_elevation.data with parameters of type VectorXYZ
 void AreaElevationProfile.addPointWithEle(VectorXYZ pointWithEle)
          adds a result of ElevationCalculator.
 void WaySegmentElevationProfile.addPointWithEle(VectorXYZ pointWithEle)
          adds a result of ElevationCalculator.
 

Uses of VectorXYZ in org.osm2world.core.math
 

Fields in org.osm2world.core.math declared as VectorXYZ
 VectorXYZ TriangleXYZWithNormals.n1
           
 VectorXYZ TriangleXYZWithNormals.n2
           
 VectorXYZ TriangleXYZWithNormals.n3
           
static VectorXYZ VectorXYZ.NULL_VECTOR
           
 VectorXYZ LineSegmentXYZ.p1
           
 VectorXYZ LineSegmentXYZ.p2
           
 VectorXYZ TriangleXYZ.v1
           
 VectorXYZ TriangleXYZ.v2
           
 VectorXYZ TriangleXYZ.v3
           
static VectorXYZ VectorXYZ.X_UNIT
           
static VectorXYZ VectorXYZ.Y_UNIT
           
static VectorXYZ VectorXYZ.Z_UNIT
           
 

Methods in org.osm2world.core.math that return VectorXYZ
 VectorXYZ VectorXYZ.add(double x, double y, double z)
           
 VectorXYZ VectorXYZ.add(VectorXYZ other)
           
 VectorXYZ VectorXYZ.add(VectorXZ other)
           
 VectorXYZ VectorXYZ.cross(VectorXYZ other)
           
 VectorXYZ TriangleXYZ.getCenter()
           
 VectorXYZ TriangleXYZ.getNormal()
          returns the normalized normal vector of this triangle
static VectorXYZ GeometryUtil.interpolateBetween(VectorXYZ pos1, VectorXYZ pos2, double influenceRatioPos2)
          three-dimensional version of GeometryUtil.interpolateBetween(VectorXZ, VectorXZ, double)
static VectorXYZ GeometryUtil.interpolateElevation(VectorXZ posForEle, VectorXYZ pos1, VectorXYZ pos2)
          performs linear interpolation of elevation information for a position on a line segment
 VectorXYZ VectorXYZ.invert()
           
 VectorXYZ VectorXYZ.mult(double scalar)
           
 VectorXYZ VectorXYZ.normalize()
           
 VectorXYZ VectorXYZ.rotateX(double angleRad)
          returns the result of rotating this vector around the x axis
 VectorXYZ VectorXYZ.rotateY(double angleRad)
          returns the result of rotating this vector around the y axis
 VectorXYZ VectorXYZ.rotateZ(double angleRad)
          returns the result of rotating this vector around the z axis
 VectorXYZ VectorXYZ.subtract(VectorXYZ other)
           
 VectorXYZ VectorXYZ.subtract(VectorXZ other)
           
static VectorXYZ JTSConversionUtil.vectorXYZFromJTSCoordinate(Coordinate c)
           
 VectorXYZ VectorXYZ.x(double x)
           
 VectorXYZ VectorXZ.xyz(double y)
           
static VectorXYZ VectorXYZ.xyz(VectorXYZ vector3D)
          creates a VectorXYZ for any Vector3D object.
 VectorXYZ VectorXYZ.y(double y)
           
 VectorXYZ VectorXYZ.z(double z)
           
 

Methods in org.osm2world.core.math that return types with arguments of type VectorXYZ
 List<VectorXYZ> TriangleXYZWithNormals.getNormals()
           
 List<VectorXYZ> PolygonXYZ.getVertexLoop()
          returns the polygon's vertices.
 List<VectorXYZ> TriangleXYZ.getVertices()
           
 List<VectorXYZ> PolygonXYZ.getVertices()
          returns the polygon's vertices.
static List<VectorXYZ> VectorXZ.listXYZ(List<VectorXZ> vs, double y)
           
static List<VectorXYZ> GeometryUtil.sequenceAbove(List<VectorXYZ> sequence, double yDistance)
          returns a sequence of vectors at a distance above an original sequence
static Function<VectorXZ,VectorXYZ> VectorXZ.xyzFunction(double y)
           
 

Methods in org.osm2world.core.math with parameters of type VectorXYZ
 VectorXYZ VectorXYZ.add(VectorXYZ other)
           
 double VectorXYZ.angleTo(VectorXYZ other)
          calculates the angle between this vector and other, but only if both are normalized!
 VectorXYZ VectorXYZ.cross(VectorXYZ other)
           
 double VectorXYZ.dot(VectorXYZ other)
           
static VectorXYZ GeometryUtil.interpolateBetween(VectorXYZ pos1, VectorXYZ pos2, double influenceRatioPos2)
          three-dimensional version of GeometryUtil.interpolateBetween(VectorXZ, VectorXZ, double)
static VectorXYZ GeometryUtil.interpolateElevation(VectorXZ posForEle, VectorXYZ pos1, VectorXYZ pos2)
          performs linear interpolation of elevation information for a position on a line segment
 VectorXYZ VectorXYZ.subtract(VectorXYZ other)
           
static Coordinate JTSConversionUtil.vectorXYZToJTSCoordinate(VectorXYZ v)
           
static VectorXYZ VectorXYZ.xyz(VectorXYZ vector3D)
          creates a VectorXYZ for any Vector3D object.
 

Method parameters in org.osm2world.core.math with type arguments of type VectorXYZ
static List<VectorXYZ> GeometryUtil.sequenceAbove(List<VectorXYZ> sequence, double yDistance)
          returns a sequence of vectors at a distance above an original sequence
static List<TriangleXYZ> GeometryUtil.trianglesFromTriangleFan(List<? extends VectorXYZ> vs)
           
static List<TriangleXYZ> GeometryUtil.trianglesFromTriangleStrip(List<? extends VectorXYZ> vs)
           
static List<TriangleXYZ> GeometryUtil.trianglesFromVertexList(List<? extends VectorXYZ> vs)
           
 

Constructors in org.osm2world.core.math with parameters of type VectorXYZ
LineSegmentXYZ(VectorXYZ p1, VectorXYZ p2)
           
TriangleXYZ(VectorXYZ v1, VectorXYZ v2, VectorXYZ v3)
           
TriangleXYZWithNormals(TriangleXYZ t, VectorXYZ n1, VectorXYZ n2, VectorXYZ n3)
           
TriangleXYZWithNormals(VectorXYZ v1, VectorXYZ v2, VectorXYZ v3, VectorXYZ n1, VectorXYZ n2, VectorXYZ n3)
           
 

Constructor parameters in org.osm2world.core.math with type arguments of type VectorXYZ
PolygonXYZ(List<VectorXYZ> vertexLoop)
           
 

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

Methods in org.osm2world.core.math.algorithms that return VectorXYZ
static VectorXYZ[] NormalCalculationUtil.calculateTriangleFanNormals(List<? extends VectorXYZ> vertices, boolean smooth)
           
static VectorXYZ[] NormalCalculationUtil.calculateTriangleNormals(List<? extends VectorXYZ> vertices, boolean smooth)
          calculates normals for a collection of triangles
static VectorXYZ[] NormalCalculationUtil.calculateTriangleStripNormals(List<? extends VectorXYZ> vertices, boolean smooth)
           
 

Method parameters in org.osm2world.core.math.algorithms with type arguments of type VectorXYZ
static VectorXYZ[] NormalCalculationUtil.calculateTriangleFanNormals(List<? extends VectorXYZ> vertices, boolean smooth)
           
static VectorXYZ[] NormalCalculationUtil.calculateTriangleNormals(List<? extends VectorXYZ> vertices, boolean smooth)
          calculates normals for a collection of triangles
static VectorXYZ[] NormalCalculationUtil.calculateTriangleStripNormals(List<? extends VectorXYZ> vertices, boolean smooth)
           
 

Uses of VectorXYZ in org.osm2world.core.target
 

Methods in org.osm2world.core.target with parameters of type VectorXYZ
 void Target.drawBox(Material material, VectorXYZ frontLowerLeft, VectorXYZ rightVector, VectorXYZ upVector, VectorXYZ backVector)
          draws a box with outward-facing polygons
 void Target.drawColumn(Material material, Integer corners, VectorXYZ base, double height, double radiusBottom, double radiusTop, boolean drawBottom, boolean drawTop)
          draws a column with outward-facing polygons around a point.
 void Target.drawPolygon(Material material, VectorXYZ... vs)
           
 void Target.drawTriangleStrip(Material material, VectorXYZ... vs)
           
 

Method parameters in org.osm2world.core.target with type arguments of type VectorXYZ
 void Target.drawTriangleFan(Material material, List<? extends VectorXYZ> vs)
           
 void Target.drawTriangleStrip(Material material, List<? extends VectorXYZ> vs)
           
 

Uses of VectorXYZ in org.osm2world.core.target.common
 

Fields in org.osm2world.core.target.common declared as VectorXYZ
 VectorXYZ[] Primitive.normals
           
 

Methods in org.osm2world.core.target.common with parameters of type VectorXYZ
 void AbstractTarget.drawBox(Material material, VectorXYZ frontLowerLeft, VectorXYZ rightVector, VectorXYZ upVector, VectorXYZ backVector)
           
 void AbstractTarget.drawColumn(Material material, Integer corners, VectorXYZ base, double height, double radiusBottom, double radiusTop, boolean drawBottom, boolean drawTop)
           
 void AbstractTarget.drawPolygon(Material material, VectorXYZ... vs)
           
 void PrimitiveTarget.drawPolygon(Material material, VectorXYZ... vs)
           
protected abstract  void PrimitiveTarget.drawPrimitive(Primitive.Type type, Material material, List<? extends VectorXYZ> vs, VectorXYZ[] normals)
           
 void AbstractTarget.drawTriangleStrip(Material material, VectorXYZ... vectors)
           
 void PrimitiveTarget.drawTriangleStrip(Material material, VectorXYZ... vs)
           
 

Method parameters in org.osm2world.core.target.common with type arguments of type VectorXYZ
 void PrimitiveTarget.drawPolygon(Material material, List<? extends VectorXYZ> vs)
           
protected abstract  void PrimitiveTarget.drawPrimitive(Primitive.Type type, Material material, List<? extends VectorXYZ> vs, VectorXYZ[] normals)
           
 void AbstractTarget.drawTriangleFan(Material material, List<? extends VectorXYZ> vs)
           
 void PrimitiveTarget.drawTriangleFan(Material material, List<? extends VectorXYZ> vs)
           
 void AbstractTarget.drawTriangleStrip(Material material, List<? extends VectorXYZ> vs)
           
 void PrimitiveTarget.drawTriangleStrip(Material material, List<? extends VectorXYZ> vs)
           
 

Constructors in org.osm2world.core.target.common with parameters of type VectorXYZ
Primitive(Primitive.Type type, int[] indices, VectorXYZ[] normals)
           
 

Uses of VectorXYZ in org.osm2world.core.target.common.rendering
 

Methods in org.osm2world.core.target.common.rendering that return VectorXYZ
 VectorXYZ Camera.getLookAt()
           
 VectorXYZ Camera.getPos()
           
 VectorXYZ Camera.getRight()
          returns the vector that is orthogonal to the connection between pos and lookAt and points to the right of it.
 VectorXYZ Camera.getViewDirection()
          returns the view direction vector with length 1
 

Methods in org.osm2world.core.target.common.rendering with parameters of type VectorXYZ
 void Camera.move(VectorXYZ move)
          moves both pos and lookAt by the given vector
 void Camera.setLookAt(VectorXYZ lookAt)
           
 void Camera.setPos(VectorXYZ pos)
           
 

Uses of VectorXYZ in org.osm2world.core.target.jogl
 

Methods in org.osm2world.core.target.jogl with parameters of type VectorXYZ
 void JOGLTarget.drawArrow(Color color, float headLength, VectorXYZ... vs)
           
 void JOGLTarget.drawLineStrip(Color color, int width, VectorXYZ... vs)
           
 void JOGLTarget.drawLineStrip(Color color, VectorXYZ... vs)
           
 void JOGLTarget.drawPoints(Color color, VectorXYZ... vs)
           
 void JOGLTarget.drawPolygon(Color color, VectorXYZ... vs)
           
protected  void JOGLTarget.drawPrimitive(Primitive.Type type, Material material, List<? extends VectorXYZ> vertices, VectorXYZ[] normals)
           
 void JOGLTarget.drawTriangleStrip(Color color, VectorXYZ... vs)
           
 

Method parameters in org.osm2world.core.target.jogl with type arguments of type VectorXYZ
 void JOGLTarget.drawLineLoop(Color color, List<? extends VectorXYZ> vs)
           
 void JOGLTarget.drawLineStrip(Color color, List<VectorXYZ> vs)
           
protected  void JOGLTarget.drawPrimitive(Primitive.Type type, Material material, List<? extends VectorXYZ> vertices, VectorXYZ[] normals)
           
 

Uses of VectorXYZ in org.osm2world.core.target.povray
 

Methods in org.osm2world.core.target.povray with parameters of type VectorXYZ
 void POVRayTarget.appendPolygon(VectorXYZ... vs)
           
 void POVRayTarget.appendTriangle(VectorXYZ a, VectorXYZ b, VectorXYZ c)
           
 void POVRayTarget.appendTriangle(VectorXYZ a, VectorXYZ b, VectorXYZ c, VectorXYZ na, VectorXYZ nb, VectorXYZ nc, boolean smooth)
           
 void POVRayTarget.appendVector(VectorXYZ vector)
          alternative to POVRayTarget.appendVector(double, double) using a vector object as parameter instead of individual coordinates
 void POVRayTarget.drawColumn(Material material, Integer corners, VectorXYZ base, double height, double radiusBottom, double radiusTop, boolean drawBottom, boolean drawTop)
           
 void POVRayTarget.drawColumn(Material material, Integer corners, VectorXYZ base, VectorXYZ cap, double radiusBottom, double radiusTop, boolean drawBottom, boolean drawTop)
          variant of POVRayTarget.drawColumn(Material, Integer, VectorXYZ, double, double, double, boolean, boolean) that allows arbitrarily placed columns
 void POVRayTarget.drawPolygon(Material material, VectorXYZ... vs)
           
 

Uses of VectorXYZ in org.osm2world.core.target.primitivebuffer
 

Methods in org.osm2world.core.target.primitivebuffer that return VectorXYZ
 VectorXYZ PrimitiveBuffer.getVertex(int index)
           
 

Methods in org.osm2world.core.target.primitivebuffer that return types with arguments of type VectorXYZ
 List<VectorXYZ> PrimitiveBuffer.getVertices()
          returns all vertices, in a list where the indices correspond to those used by PrimitiveBuffer.getVertex(int)
 

Methods in org.osm2world.core.target.primitivebuffer with parameters of type VectorXYZ
protected  void PrimitiveBuffer.drawPrimitive(Primitive.Type type, Material material, List<? extends VectorXYZ> vertices, VectorXYZ[] normals)
           
 

Method parameters in org.osm2world.core.target.primitivebuffer with type arguments of type VectorXYZ
protected  void PrimitiveBuffer.drawPrimitive(Primitive.Type type, Material material, List<? extends VectorXYZ> vertices, VectorXYZ[] normals)
           
 

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

Methods in org.osm2world.core.terrain.creation that return VectorXYZ
 VectorXYZ TemporaryElevationStorage.restoreElevationForVector(VectorXZ vector)
          returns the 3d vector at a position; either by retrieving a previously existing vector or by interpolating along interpolation lines
 

Methods in org.osm2world.core.terrain.creation with parameters of type VectorXYZ
 void TemporaryElevationStorage.addVector(VectorXZ vXZ, VectorXYZ vXYZ)
          adds the 3d version of a flattened vector so that the 3d version can later be retrieved.
 

Uses of VectorXYZ in org.osm2world.core.world.modules.common
 

Methods in org.osm2world.core.world.modules.common that return VectorXYZ
static VectorXYZ[] WorldModuleGeometryUtil.createVectorsForTriangleStripBetween(List<? extends VectorXYZ> leftOutline, List<? extends VectorXYZ> rightOutline)
          creates a triangle strip between two outlines with identical number of vectors
static VectorXYZ[] WorldModuleGeometryUtil.createVectorsForVerticalTriangleStrip(List<? extends VectorXYZ> baseLine, float stripLowerYBound, float stripUpperYBound)
          creates the vectors for a vertical triangle strip at a given elevation above a line of points
static VectorXYZ[] WorldModuleGeometryUtil.transformShape(VectorXYZ[] shape, VectorXYZ center, VectorXYZ forward, VectorXYZ up)
          moves a shape that was defined at the origin to a new position.
 

Methods in org.osm2world.core.world.modules.common that return types with arguments of type VectorXYZ
static List<VectorXYZ> WorldModuleGeometryUtil.createLineBetween(List<VectorXYZ> leftOutline, List<VectorXYZ> rightOutline, float ratio)
           
 

Methods in org.osm2world.core.world.modules.common with parameters of type VectorXYZ
static List<VectorXYZ[]> WorldModuleGeometryUtil.createShapeExtrusionAlong(VectorXYZ[] shape, List<VectorXYZ> extrusionPath, List<VectorXYZ> upVectors)
          creates triangle stip vectors for a shape extruded along a line of coordinates
static VectorXYZ[] WorldModuleGeometryUtil.transformShape(VectorXYZ[] shape, VectorXYZ center, VectorXYZ forward, VectorXYZ up)
          moves a shape that was defined at the origin to a new position.
static VectorXYZ[] WorldModuleGeometryUtil.transformShape(VectorXYZ[] shape, VectorXYZ center, VectorXYZ forward, VectorXYZ up)
          moves a shape that was defined at the origin to a new position.
 

Method parameters in org.osm2world.core.world.modules.common with type arguments of type VectorXYZ
static List<VectorXYZ> WorldModuleGeometryUtil.createLineBetween(List<VectorXYZ> leftOutline, List<VectorXYZ> rightOutline, float ratio)
           
static List<VectorXYZ> WorldModuleGeometryUtil.createLineBetween(List<VectorXYZ> leftOutline, List<VectorXYZ> rightOutline, float ratio)
           
static List<VectorXYZ[]> WorldModuleGeometryUtil.createShapeExtrusionAlong(VectorXYZ[] shape, List<VectorXYZ> extrusionPath, List<VectorXYZ> upVectors)
          creates triangle stip vectors for a shape extruded along a line of coordinates
static List<VectorXYZ[]> WorldModuleGeometryUtil.createShapeExtrusionAlong(VectorXYZ[] shape, List<VectorXYZ> extrusionPath, List<VectorXYZ> upVectors)
          creates triangle stip vectors for a shape extruded along a line of coordinates
static VectorXYZ[] WorldModuleGeometryUtil.createVectorsForTriangleStripBetween(List<? extends VectorXYZ> leftOutline, List<? extends VectorXYZ> rightOutline)
          creates a triangle strip between two outlines with identical number of vectors
static VectorXYZ[] WorldModuleGeometryUtil.createVectorsForTriangleStripBetween(List<? extends VectorXYZ> leftOutline, List<? extends VectorXYZ> rightOutline)
          creates a triangle strip between two outlines with identical number of vectors
static VectorXYZ[] WorldModuleGeometryUtil.createVectorsForVerticalTriangleStrip(List<? extends VectorXYZ> baseLine, float stripLowerYBound, float stripUpperYBound)
          creates the vectors for a vertical triangle strip at a given elevation above a line of points
 

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

Methods in org.osm2world.core.world.network that return types with arguments of type VectorXYZ
 List<VectorXYZ> AbstractNetworkWaySegmentWorldObject.getCenterline()
          returns a sequence of node running along the center of the line from start to end (each with offset).
 List<VectorXYZ> AbstractNetworkWaySegmentWorldObject.getOutline(boolean right)
          provides the left or right border (a line at an appropriate distance from the center line), taking into account cut vectors, offsets and elevation information.
 List<VectorXYZ> JunctionNodeWorldObject.getOutline(int from, int to)
          provides outline for the areas covered by the junction.
 List<VectorXYZ> VisibleConnectorNodeWorldObject.getOutline(int from, int to)
          provides outline for the areas covered by the connector.
 

Uses of VectorXYZ in org.osm2world.viewer.view.debug
 

Methods in org.osm2world.viewer.view.debug with parameters of type VectorXYZ
protected static void DebugView.drawBox(JOGLTarget target, Color color, VectorXYZ v1, VectorXYZ v2, VectorXYZ v3, VectorXYZ v4)
           
protected static void DebugView.drawBoxAround(JOGLTarget target, VectorXYZ center, Color color, float halfWidth)