Uses of Class
org.jzy3d.maths.Coord2d
Packages that use Coord2d
Package
Description
Provides mathematical tools: coordinates, spaces, grids, and trigonometry for 2 and 3 dimensions.
-
Uses of Coord2d in org.jzy3d.chart.controllers.camera
Methods in org.jzy3d.chart.controllers.camera with parameters of type Coord2d -
Uses of Coord2d in org.jzy3d.chart.controllers.thread.camera
Fields in org.jzy3d.chart.controllers.thread.camera declared as Coord2d -
Uses of Coord2d in org.jzy3d.maths
Subclasses with type arguments of type Coord2d in org.jzy3d.mathsFields in org.jzy3d.maths declared as Coord2dModifier and TypeFieldDescriptionTriangle2d.aTriangle2d.bTriangle2d.cstatic final Coord2dCoord2d.IDENTITYstatic final Coord2dCoord2d.INVALIDAn invalid Coord2d has value NaN for each dimension.static final Coord2dCoord2d.ORIGINThe origin is a Coord2d having value 0 for each dimension.Methods in org.jzy3d.maths that return Coord2dModifier and TypeMethodDescriptionCoord2d.add(float value) Add a value to all components of the current Coord and return the result in a new Coord2d.Coord2d.add(float x, float y) Add a Coord2d to the current one and return the result in a new Coord2d.static Coord2dCoord2d.addWeighted(Coord2d a, Coord2d b, float weigthA, float weightB) protected static Coord2dCoord2d.cartesian()Converts the current Coord3d into cartesian coordinates and return the result in a new Coord3d.Coord2d.clone()Return a duplicate of this 3d coordinate.Coord2d.div(float value) Divise all components of the current Coord by the same value and return the result in a new Coord3d.Coord2d.div(float x, float y) Divise a Coord2d to the current one and return the result in a new Coord2d.Coord2d.fullPolar()Return a real polar value, with an angle in the range [0;2*PI] https://en.wikipedia.org/wiki/Polar_coordinate_systemBoundingBox2d.getCenter()Compute and return the center point of the BoundingBox3dTriangle2d.getCenter()Triangle2d.getCenterAB()Triangle2d.getCenterAC()Triangle2d.getCenterBC()Triangle2d.getMedianAB()Triangle2d.getMedianAC()Triangle2d.getMedianBC()Triangle2d.getMedianCA()Coord3d.getXY()Return the x and y component as a 2d coordinate.static Coord2dCoord2d.interpolate(Coord2d a, Coord2d b, float weigthA) Coord2d.interpolation(Coord2d c, float ratio) Returns an interpolated point between the current and given point, according to an input ratio in [0;1] that indicates how near to the current point the new point will stand.Coord2d.mul(float value) Multiply all components of the current Coord and return the result in a new Coord3d.Coord2d.mul(float x, float y) Multiply a Coord2d to the current one and return the result in a new Coord2d.Coord2d.mulSelf(float x, float y) Coord2d.polar()Coord2d.sub(float value) Substract a value to all components of the current Coord and return the result in a new Coord2d.Coord2d.sub(float x, float y) Substract a Coord2d to the current one and return the result in a new Coord2d.Vector2d.vector()Return the vector induced by this set of coordinates.Methods in org.jzy3d.maths that return types with arguments of type Coord2dMethods in org.jzy3d.maths with parameters of type Coord2dModifier and TypeMethodDescriptionvoidAdd a Point3d to the BoundingBox3d.Add a Coord2d to the current one and return the result in a new Coord2d.voidstatic Coord2dCoord2d.addWeighted(Coord2d a, Coord2d b, float weigthA, float weightB) booleanReturn true if coordinates is contained by this box.doubleCompute the distance between two coordinates.doubleCoord2d.distanceSq(Coord2d c) Divise a Coord2d to the current one and return the result in a new Coord2d.static Coord2dCoord2d.interpolate(Coord2d a, Coord2d b, float weigthA) Coord2d.interpolation(Coord2d c, float ratio) Returns an interpolated point between the current and given point, according to an input ratio in [0;1] that indicates how near to the current point the new point will stand.Multiply a Coord2d to the current one and return the result in a new Coord2d.Return a copy of the current bounding box after scaling.voidSubstract a Coord2d to the current one and return the result in a new Coord2d.Constructors in org.jzy3d.maths with parameters of type Coord2dModifierConstructorDescriptionCreate an angle, described by three coordinates.Triangle2d(Coord2d a, Coord2d b, Coord2d c) Create a vector, described by two coordinates.Constructor parameters in org.jzy3d.maths with type arguments of type Coord2dModifierConstructorDescriptionBoundingBox2d(List<Coord2d> list) Polygon2d(Collection<? extends Coord2d> c) -
Uses of Coord2d in org.jzy3d.maths.algorithms.convexhull
Methods in org.jzy3d.maths.algorithms.convexhull that return types with arguments of type Coord2dModifier and TypeMethodDescriptionConvexHullFunction.getConvexHull(Coord2d[] pts) GrahamScan.getConvexHull(Coord2d[] pts) implements interfaceJarvisMarch.getConvexHull(Coord2d[] Q) Palauttaa pinossa peitteen pisteet niin, että ensimmäinen ja viimeinen alkio ovat samat.Methods in org.jzy3d.maths.algorithms.convexhull with parameters of type Coord2dModifier and TypeMethodDescriptionConvexHullFunction.getConvexHull(Coord2d[] pts) GrahamScan.getConvexHull(Coord2d[] pts) implements interfaceJarvisMarch.getConvexHull(Coord2d[] Q) Palauttaa pinossa peitteen pisteet niin, että ensimmäinen ja viimeinen alkio ovat samat. -
Uses of Coord2d in org.jzy3d.maths.algorithms.convexhull.algorithms
Classes in org.jzy3d.maths.algorithms.convexhull.algorithms that implement interfaces with type arguments of type Coord2dMethods in org.jzy3d.maths.algorithms.convexhull.algorithms that return Coord2dModifier and TypeMethodDescriptionWorld coordinate to Screen coordinate.Screen coordinate to World coordinate.Methods in org.jzy3d.maths.algorithms.convexhull.algorithms with parameters of type Coord2dModifier and TypeMethodDescriptionintintstatic intComputationalGeometry.computeOrientation(Coord2d p1, Coord2d p2, Coord2d q) Computes the orientation of a point q to the directed line segment p1-p2. World coordinate to Screen coordinate.voidScreen coordinate to World coordinate.Constructors in org.jzy3d.maths.algorithms.convexhull.algorithms with parameters of type Coord2d -
Uses of Coord2d in org.jzy3d.painters
Methods in org.jzy3d.painters with parameters of type Coord2dModifier and TypeMethodDescriptionvoidIPainter.drawImage(ByteBuffer imageBuffer, int imageWidth, int imageHeight, Coord2d pixelZoom, Coord3d imagePosition) A high level and easy way of drawing images (non OpenGL).booleanAbstractPainter.isJVMScaleLargerThanNativeScale(Coord2d scaleHardware, Coord2d scaleJVM) booleanIPainter.isJVMScaleLargerThanNativeScale(Coord2d scaleHardware, Coord2d scaleJVM) -
Uses of Coord2d in org.jzy3d.plot2d.primitives
Methods in org.jzy3d.plot2d.primitives with parameters of type Coord2dModifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidMethod parameters in org.jzy3d.plot2d.primitives with type arguments of type Coord2d -
Uses of Coord2d in org.jzy3d.plot3d.primitives.axis
Fields in org.jzy3d.plot3d.primitives.axis declared as Coord2dMethods in org.jzy3d.plot3d.primitives.axis that return Coord2dModifier and TypeMethodDescriptionprotected Coord2dAxisLabelProcessor.axisLabelOffset(IPainter painter, AxisRenderingInfo info, Coord3d labelPosition, int margin) Offset for oblique labels.protected Coord2dAxisLabelProcessor.axisLabelOffsetVertical(IPainter painter, AxisRenderingInfo info, Coord3d labelPosition, int margin) Computes the offset to apply to a vertical Z label to avoid covering the tick labels in the case of a 3D chart.Methods in org.jzy3d.plot3d.primitives.axis with parameters of type Coord2dModifier and TypeMethodDescriptionprotected voidAxisLabelProcessor.drawAxisLabel(IPainter painter, int direction, Color color, BoundingBox3d ticksTxtBounds, Coord3d position, String label, float rotation, Coord2d offset) Constructors in org.jzy3d.plot3d.primitives.axis with parameters of type Coord2d -
Uses of Coord2d in org.jzy3d.plot3d.primitives.axis.annotations
Fields in org.jzy3d.plot3d.primitives.axis.annotations declared as Coord2dMethods in org.jzy3d.plot3d.primitives.axis.annotations that return Coord2dMethods in org.jzy3d.plot3d.primitives.axis.annotations with parameters of type Coord2d -
Uses of Coord2d in org.jzy3d.plot3d.primitives.graphs
Fields in org.jzy3d.plot3d.primitives.graphs declared as Coord2dMethods in org.jzy3d.plot3d.primitives.graphs that return Coord2dMethods in org.jzy3d.plot3d.primitives.graphs with parameters of type Coord2dModifier and TypeMethodDescriptionvoidAbstractDrawableGraph2d.setLabelScreenOffset(Coord2d labelOffset) -
Uses of Coord2d in org.jzy3d.plot3d.primitives.graphs.impl
Methods in org.jzy3d.plot3d.primitives.graphs.impl with parameters of type Coord2dModifier and TypeMethodDescriptionprotected voidprotected voidDefaultDrawableGraph2d.drawVertexLabel(IPainter painter, V v, Coord2d coord, Color color) protected voidDefaultDrawableGraph2d.drawVertexNode(IPainter painter, V v, Coord2d coord, Color color) protected voidPointGraph2d.drawVertexNode(IPainter painter, V v, Coord2d coord, Color color) protected voidTextureGraph2d.drawVertexNode(IPainter painter, V v, Coord2d coord, Color color) -
Uses of Coord2d in org.jzy3d.plot3d.primitives.graphs.layout
Subclasses with type arguments of type Coord2d in org.jzy3d.plot3d.primitives.graphs.layoutMethods in org.jzy3d.plot3d.primitives.graphs.layout that return Coord2dModifier and TypeMethodDescriptionDefaultGraphLayout2d.getVertexPosition(V v) IGraphLayout2d.getVertexPosition(V v) Methods in org.jzy3d.plot3d.primitives.graphs.layout that return types with arguments of type Coord2dMethods in org.jzy3d.plot3d.primitives.graphs.layout with parameters of type Coord2dModifier and TypeMethodDescriptionvoidDefaultGraphLayout2d.setVertexPosition(V v, Coord2d position) voidIGraphLayout2d.setVertexPosition(V v, Coord2d position) -
Uses of Coord2d in org.jzy3d.plot3d.primitives.pickable
Constructor parameters in org.jzy3d.plot3d.primitives.pickable with type arguments of type Coord2dModifierConstructorDescriptionPickableTexture(SharedTexture resource, PlaneAxis orientation, float axisValue, List<Coord2d> coords) PickableTexture(SharedTexture resource, PlaneAxis orientation, float axisValue, List<Coord2d> coords, Color filter) -
Uses of Coord2d in org.jzy3d.plot3d.primitives.textured
Fields in org.jzy3d.plot3d.primitives.textured declared as Coord2dFields in org.jzy3d.plot3d.primitives.textured with type parameters of type Coord2dMethods in org.jzy3d.plot3d.primitives.textured that return Coord2dMethods in org.jzy3d.plot3d.primitives.textured that return types with arguments of type Coord2dModifier and TypeMethodDescriptionNativeDrawableImage.getDefaultTextureMapping()NativeDrawableImage.getManualTextureMapping(float width, float height) NativeDrawableImage.getManualTextureMapping(float width, float height, float xoffset, float yoffset) Must supply the expected size of texture in 3d coordinates.TexturedCube.makeXPlaneTextureMapping(Coord3d position, float width) TexturedCube.makeYPlaneTextureMapping(Coord3d position, float width) TexturedCube.makeZPlaneTextureMapping(Coord3d position, float width) Methods in org.jzy3d.plot3d.primitives.textured with parameters of type Coord2dModifier and TypeMethodDescriptionvoidNativeDrawableImage.setPlanePosition(Coord2d planePosition) Constructor parameters in org.jzy3d.plot3d.primitives.textured with type arguments of type Coord2dModifierConstructorDescriptionNativeDrawableImage(SharedTexture resource, PlaneAxis orientation, float axisValue, List<Coord2d> coords) NativeDrawableImage(SharedTexture resource, PlaneAxis orientation, float axisValue, List<Coord2d> coords, Color filter) -
Uses of Coord2d in org.jzy3d.plot3d.rendering.canvas
Methods in org.jzy3d.plot3d.rendering.canvas that return Coord2dModifier and TypeMethodDescriptionICanvas.getPixelScale()Provide pixel scale as feasible by the Hardware, OS, and JVM, independently of what was asked byICanvas.setPixelScale(float[]).ICanvas.getPixelScaleJVM()Provide pixel scale as considered feasible by the JVM.Methods in org.jzy3d.plot3d.rendering.canvas with parameters of type Coord2d -
Uses of Coord2d in org.jzy3d.plot3d.rendering.view
Fields in org.jzy3d.plot3d.rendering.view declared as Coord2dModifier and TypeFieldDescriptionprotected Coord2dView2DProcessing.modelToScreenprotected Coord2dView.pixelScaleMethods in org.jzy3d.plot3d.rendering.view that return Coord2dModifier and TypeMethodDescriptionstatic Coord2dAbstractViewportManager.apply_WindowsHiDPI_Workaround(IPainter painter, int width, int height) static Coord2dAbstractViewportManager.apply_WindowsHiDPI_Workaround(IPainter painter, Coord2d viewport) View2DProcessing.getModelToScreen()Return the model-to-screen ratio that that was processed at the latest call toinvalid reference
#apply()View2DProcessing.getModelToScreenRatio(Area space, Area canvas, Area margins) A helper for processing 2D margins.IImageViewport.getPixelScale()View.getPixelScale()Return a copy of the currently known pixel scale as notified by the canvas.static Coord2dAbstractViewportManager.getWindowsHiDPIScale_Workaround(IPainter painter) Methods in org.jzy3d.plot3d.rendering.view with parameters of type Coord2dModifier and TypeMethodDescriptionstatic Coord2dAbstractViewportManager.apply_WindowsHiDPI_Workaround(IPainter painter, Coord2d viewport) View.projectMouse(Coord2d mouse) voidGENERAL DISPLAY CONTROLSvoidvoidIImageViewport.updatePixelScale(Coord2d pixelScale) -
Uses of Coord2d in org.jzy3d.plot3d.rendering.view.controllers
Methods in org.jzy3d.plot3d.rendering.view.controllers with parameters of type Coord2d -
Uses of Coord2d in org.jzy3d.plot3d.text
Fields in org.jzy3d.plot3d.text declared as Coord2dModifier and TypeFieldDescriptionprotected static final Coord2dAbstractTextRenderer.NO_SCREEN_OFFSETMethods in org.jzy3d.plot3d.text with parameters of type Coord2dModifier and TypeMethodDescriptionAbstractTextRenderer.drawText(IPainter painter, Font font, String s, Coord3d position, float rotation, Horizontal halign, Vertical valign, Color color, Coord2d screenOffset) AbstractTextRenderer.drawText(IPainter painter, Font font, String s, Coord3d position, float rotation, TextAlign align, Color color, Coord2d screenOffset) AbstractTextRenderer.drawText(IPainter painter, Font font, String s, Coord3d position, Horizontal halign, Vertical valign, Color color, Coord2d screenOffset) ITextRenderer.drawText(IPainter painter, Font font, String s, Coord3d position, float rotation, Horizontal halign, Vertical valign, Color color, Coord2d screenOffset) ITextRenderer.drawText(IPainter painter, Font font, String s, Coord3d position, float rotation, Horizontal halign, Vertical valign, Color color, Coord2d screenOffset, Coord3d sceneOffset) The main text renderer method to implement.ITextRenderer.drawText(IPainter painter, Font font, String s, Coord3d position, float rotation, TextAlign align, Color color, Coord2d screenOffset) ITextRenderer.drawText(IPainter painter, Font font, String s, Coord3d position, Horizontal halign, Vertical valign, Color color, Coord2d screenOffset) -
Uses of Coord2d in org.jzy3d.plot3d.text.align
Methods in org.jzy3d.plot3d.text.align with parameters of type Coord2d -
Uses of Coord2d in org.jzy3d.plot3d.text.drawable
Fields in org.jzy3d.plot3d.text.drawable declared as Coord2dMethods in org.jzy3d.plot3d.text.drawable that return Coord2dMethods in org.jzy3d.plot3d.text.drawable with parameters of type Coord2d -
Uses of Coord2d in org.jzy3d.plot3d.text.renderers
Methods in org.jzy3d.plot3d.text.renderers with parameters of type Coord2dModifier and TypeMethodDescriptionTextBillboardRenderer.drawText(IPainter painter, Font font, String s, Coord3d position, float rotation, Horizontal halign, Vertical valign, Color color, Coord2d screenOffset, Coord3d sceneOffset) Deprecated.Draw a string at the specified position and compute the 3d volume occupied by the string according to the current Camera configuration.TextBitmapRenderer.drawText(IPainter painter, Font font, String text, Coord3d position, float rotation, Horizontal halign, Vertical valign, Color color, Coord2d screenOffset, Coord3d sceneOffset) Deprecated.Draw a string at the specified position and return the 3d volume occupied by the string according to the current Camera configuration.TextRenderer.drawText(IPainter painter, Font font, String text, Coord3d position, float rotation, Horizontal halign, Vertical valign, Color color, Coord2d screenOffset, Coord3d sceneOffset) Draw a string at the specified position and return the 3d volume occupied by the string according to the current Camera configuration. -
Uses of Coord2d in org.jzy3d.plot3d.transform.space
Methods in org.jzy3d.plot3d.transform.space that return Coord2dMethods in org.jzy3d.plot3d.transform.space with parameters of type Coord2d