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 Rect2D
Text2D. bounds
Methods in mgui.geometry that return Rect2D Modifier and Type Method Description Rect2D
Shape2D. getBounds()
Returns a rectangle which bounds this 2D shapeRect2D
Text2D. getBounds()
Methods in mgui.geometry with parameters of type Rect2D Modifier and Type Method Description void
Text2D. setBounds(Rect2D bounds)
-
Uses of Rect2D in mgui.geometry.util
Methods in mgui.geometry.util that return Rect2D Modifier and Type Method Description static Rect2D
GeometryFunctions. getScaledShape(org.jogamp.vecmath.Point2f scalePt, Rect2D thisRect, double scaleVal)
static Rect2D
GeometryFunctions. getUnionBounds(Rect2D r1, Rect2D r2)
Methods in mgui.geometry.util with parameters of type Rect2D Modifier and Type Method Description static boolean
GeometryFunctions. crosses(LineSegment2D segment, Rect2D rect)
static boolean
GeometryFunctions. crosses(Rect2D rect1, Rect2D rect2)
static boolean
GeometryFunctions. crosses(Vector2D vector, Rect2D rect)
Determines whethervector
crossesrect
.static boolean
GeometryFunctions. crosses(Vector2D vector, Rect2D rect, boolean is_infinite)
Determines whethervector
crossesrect
.static LineSegment2D
GeometryFunctions. getIntersectionSegment(Vector2D vector, Rect2D rect)
Calculates a line segment wherevector
crossesrect
.static Rect2D
GeometryFunctions. getScaledShape(org.jogamp.vecmath.Point2f scalePt, Rect2D thisRect, double scaleVal)
static Rect2D
GeometryFunctions. 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 void
DrawingEngine. drawImage2D(java.awt.Graphics2D graphics, Rect2D bounds, java.awt.image.BufferedImage image)
Draws an image to fit a given rectangular bounds.void
DrawingEngine. drawRect2D(java.awt.Graphics2D graphics, Rect2D rectangle)
Draws and fills a rectangle.java.awt.Rectangle
DrawingEngine. 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 Rect2D
Map2D. getMapBounds()
Methods in mgui.interfaces.maps with parameters of type Rect2D Modifier and Type Method Description java.awt.Rectangle
Map2D. getScreenBounds(Rect2D thisBounds)
void
Map2D. zoomToMapWindow(Rect2D window)
-
Uses of Rect2D in mgui.interfaces.shapes
Fields in mgui.interfaces.shapes declared as Rect2D Modifier and Type Field Description Rect2D
SectionSet3DInt. boundBox2D
Rect2D
Shape2DInt. bounds
Methods in mgui.interfaces.shapes that return Rect2D Modifier and Type Method Description Rect2D
SectionSet3DInt. getBoundBox2D()
Rect2D
Line2DInt. getBounds()
Rect2D
Shape2DInt. getBounds()
Rect2D
Text2DInt. getBounds()
Rect2D
Polygon2DInt. getExtBounds()
Rect2D
Rect2DInt. getExtBounds()
Rect2D
Shape2DInt. getExtBounds()
Methods in mgui.interfaces.shapes with parameters of type Rect2D Modifier and Type Method Description void
SectionSet3DInt. setBoundBox2D(Rect2D thisBox)
void
Text2DInt. 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)