Uses of Class
mgui.geometry.LineSegment2D
| 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 LineSegment2D in mgui.geometry
Methods in mgui.geometry that return LineSegment2D Modifier and Type Method Description LineSegment2DVector2D. asLineSegment()Methods in mgui.geometry that return types with arguments of type LineSegment2D Modifier and Type Method Description java.util.ArrayList<LineSegment2D>Rect2D. getSides() - 
Uses of LineSegment2D in mgui.geometry.util
Methods in mgui.geometry.util that return LineSegment2D Modifier and Type Method Description static LineSegment2DGeometryFunctions. getIntersectionSegment(Vector2D vector, Rect2D rect)Calculates a line segment wherevectorcrossesrect.Methods in mgui.geometry.util with parameters of type LineSegment2D Modifier and Type Method Description static booleanGeometryFunctions. crosses(LineSegment2D l1, LineSegment2D l2)Determines whether the line segmentsl1andl2cross.static booleanGeometryFunctions. crosses(LineSegment2D segment, Rect2D rect)static org.jogamp.vecmath.Point2fGeometryFunctions. getIntersectionPoint(LineSegment2D l1, LineSegment2D l2)static org.jogamp.vecmath.Point2fGeometryFunctions. getIntersectionPoint(LineSegment2D l1, LineSegment2D l2, boolean test_crossing, boolean is_infinite)Returns the intersection point between two lines or line segments.static booleanGeometryFunctions. getSegmentsIntersect(LineSegment2D l1, LineSegment2D l2)Determines whether line segmentsl1andl2intersect. - 
Uses of LineSegment2D in mgui.interfaces.graphics.util
Methods in mgui.interfaces.graphics.util with parameters of type LineSegment2D Modifier and Type Method Description voidDrawingEngine. drawLine2D(java.awt.Graphics2D g, LineSegment2D thisLine)Draws a 2D line segment.voidDrawingEngine. drawLine2D(java.awt.Graphics2D g, LineSegment2D thisLine, boolean setAttr)Draws a 2D line segment.voidDrawingEngine. drawSegmentData2D(java.awt.Graphics2D g, LineSegment2D segment, java.util.ArrayList<MguiNumber> plotted_data, float min_value, float max_value, float offset, float height)Draws data as a line plot besidesegment. - 
Uses of LineSegment2D in mgui.interfaces.shapes
Constructors in mgui.interfaces.shapes with parameters of type LineSegment2D Constructor Description Line2DInt(LineSegment2D thisLine)