Uses of Class
mgui.geometry.Rect2D
| Package | Description |
|---|---|
| mgui.geometry |
Provides 2D and 3D geometry representations and utilities for all shapes used in ModelGUI.
|
| mgui.geometry.util |
Uility classes for geometric operations.
|
| mgui.interfaces.graphics.util |
Utility classes operating on 2D and 3D graphics objects.
|
| mgui.interfaces.maps |
Provides a set a maps for use by ModelGUI objects.
|
| mgui.interfaces.shapes |
This package provides interfaces for user interaction with shapes and shape models.
|
-
Uses of Rect2D in mgui.geometry
Fields in mgui.geometry declared as Rect2D Modifier and Type Field Description protected Rect2DText2D. boundsMethods in mgui.geometry that return Rect2D Modifier and Type Method Description Rect2DShape2D. getBounds()Returns a rectangle which bounds this 2D shapeRect2DText2D. getBounds()Methods in mgui.geometry with parameters of type Rect2D Modifier and Type Method Description voidText2D. setBounds(Rect2D bounds) -
Uses of Rect2D in mgui.geometry.util
Methods in mgui.geometry.util that return Rect2D Modifier and Type Method Description static Rect2DGeometryFunctions. getScaledShape(org.jogamp.vecmath.Point2f scalePt, Rect2D thisRect, double scaleVal)static Rect2DGeometryFunctions. getUnionBounds(Rect2D r1, Rect2D r2)Methods in mgui.geometry.util with parameters of type Rect2D Modifier and Type Method Description static booleanGeometryFunctions. crosses(LineSegment2D segment, Rect2D rect)static booleanGeometryFunctions. crosses(Rect2D rect1, Rect2D rect2)static booleanGeometryFunctions. crosses(Vector2D vector, Rect2D rect)Determines whethervectorcrossesrect.static booleanGeometryFunctions. crosses(Vector2D vector, Rect2D rect, boolean is_infinite)Determines whethervectorcrossesrect.static LineSegment2DGeometryFunctions. getIntersectionSegment(Vector2D vector, Rect2D rect)Calculates a line segment wherevectorcrossesrect.static Rect2DGeometryFunctions. getScaledShape(org.jogamp.vecmath.Point2f scalePt, Rect2D thisRect, double scaleVal)static Rect2DGeometryFunctions. getUnionBounds(Rect2D r1, Rect2D r2) -
Uses of Rect2D in mgui.interfaces.graphics.util
Methods in mgui.interfaces.graphics.util with parameters of type Rect2D Modifier and Type Method Description voidDrawingEngine. drawImage2D(java.awt.Graphics2D graphics, Rect2D bounds, java.awt.image.BufferedImage image)Draws an image to fit a given rectangular bounds.voidDrawingEngine. drawRect2D(java.awt.Graphics2D graphics, Rect2D rectangle)Draws and fills a rectangle.java.awt.RectangleDrawingEngine. getScreenBounds(Rect2D bounds)Returns the screen bounds ofbounds, a 2D rectangular boundary in model space. -
Uses of Rect2D in mgui.interfaces.maps
Methods in mgui.interfaces.maps that return Rect2D Modifier and Type Method Description Rect2DMap2D. getMapBounds()Methods in mgui.interfaces.maps with parameters of type Rect2D Modifier and Type Method Description java.awt.RectangleMap2D. getScreenBounds(Rect2D thisBounds)voidMap2D. zoomToMapWindow(Rect2D window) -
Uses of Rect2D in mgui.interfaces.shapes
Fields in mgui.interfaces.shapes declared as Rect2D Modifier and Type Field Description Rect2DSectionSet3DInt. boundBox2DRect2DShape2DInt. boundsMethods in mgui.interfaces.shapes that return Rect2D Modifier and Type Method Description Rect2DSectionSet3DInt. getBoundBox2D()Rect2DLine2DInt. getBounds()Rect2DShape2DInt. getBounds()Rect2DText2DInt. getBounds()Rect2DPolygon2DInt. getExtBounds()Rect2DRect2DInt. getExtBounds()Rect2DShape2DInt. getExtBounds()Methods in mgui.interfaces.shapes with parameters of type Rect2D Modifier and Type Method Description voidSectionSet3DInt. setBoundBox2D(Rect2D thisBox)voidText2DInt. setBounds(Rect2D newBounds)Constructors in mgui.interfaces.shapes with parameters of type Rect2D Constructor Description Image2DInt(Rect2D rect, java.awt.image.BufferedImage i, boolean hasAlpha)Rect2DInt(Rect2D thisRect)Text2DInt(java.lang.String text, Rect2D bound)Volume2DInt(Rect2D rect, java.awt.image.BufferedImage image, boolean hasAlpha)