Uses of Class
mgui.geometry.Vector2D
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.shapes |
This package provides interfaces for user interaction with shapes and shape models.
|
-
Uses of Vector2D in mgui.geometry
Methods in mgui.geometry that return Vector2D Modifier and Type Method Description Vector2D
LineSegment2D. asVector()
Constructors in mgui.geometry with parameters of type Vector2D Constructor Description Vector2D(Vector2D vector)
-
Uses of Vector2D in mgui.geometry.util
Methods in mgui.geometry.util that return Vector2D Modifier and Type Method Description static Vector2D
GeometryFunctions. getIntersectionLine(Plane3D plane1, Plane3D plane2)
Determines the line of intersection between two planes, and returns the result in the 2D coordinate system ofplane2
.Methods in mgui.geometry.util with parameters of type Vector2D Modifier and Type Method Description 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
. -
Uses of Vector2D in mgui.interfaces.graphics.util
Methods in mgui.interfaces.graphics.util with parameters of type Vector2D Modifier and Type Method Description void
DrawingEngine. drawVector2D(java.awt.Graphics2D g, Vector2D v, Point2DShape start_point, Point2DShape arrow, float alpha)
-
Uses of Vector2D in mgui.interfaces.shapes
Methods in mgui.interfaces.shapes that return Vector2D Modifier and Type Method Description Vector2D
Vector2DInt. getVector()
Constructors in mgui.interfaces.shapes with parameters of type Vector2D Constructor Description Vector2DInt(Vector2D vector)