Uses of Class
mgui.geometry.Shape2D
| 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.plots.mgui | |
| mgui.interfaces.shapes |
This package provides interfaces for user interaction with shapes and shape models.
|
| mgui.interfaces.shapes.graphs | |
| mgui.morph.sections |
-
Uses of Shape2D in mgui.geometry
Subclasses of Shape2D in mgui.geometry Modifier and Type Class Description classCircle2DRepresents a 2D circle.classEllipse2DRepresents an ellipse shape.classGraph2DRepresents a graph as a 2D geometric shape.classLineSegment2DRepresents a line segment in R2.classPoint2DRepresents a 2D point.classPointSet2DRepresents a set of 2D points.classPolygon2DRepresents a series of connected 2D points, defining either a polyline or a closed polygon.classRadius2DDEV NOTE: deprecate or change; does not have fixed geometry, thus doesn't fit definition of aShape.classRect2DRepresents a 2D rectangle.classText2DRepresents a character string with 2D geometry.classTriangle2DRepresents a 2D triangle.classVector2DRepresents a 2D vector, defined by an end-point and a vector. -
Uses of Shape2D in mgui.geometry.util
Methods in mgui.geometry.util with parameters of type Shape2D Modifier and Type Method Description static org.jogamp.vecmath.Point2fGeometryFunctions. getCenterOfGravity(Shape2D s)static intGeometryFunctions. getClosestVertex(Shape2D shape, org.jogamp.vecmath.Point2f point)Returns the vertex ofshapewhich is closest topoint.static voidGeometryFunctions. rotate(Shape2D shape, org.jogamp.vecmath.Point2d base_point, double angle)Rotatesshapeaboutbase_pointbyangleradians.static voidGeometryFunctions. rotate(Shape2D shape, org.jogamp.vecmath.Point2f base_point, double angle)Rotatesshapeaboutbase_pointbyangleradians. -
Uses of Shape2D in mgui.interfaces.plots.mgui
Methods in mgui.interfaces.plots.mgui that return Shape2D Modifier and Type Method Description Shape2DPlotMap2D. mapDataShapeToPlot(Shape2D data_shape)Maps an mgui shape from data points to plot pointsMethods in mgui.interfaces.plots.mgui with parameters of type Shape2D Modifier and Type Method Description java.awt.ShapePlotMap2D. mapDataShapeToGraphic(Shape2D data_shape)Maps an mgui shape from data points to graphic pointsShape2DPlotMap2D. mapDataShapeToPlot(Shape2D data_shape)Maps an mgui shape from data points to plot pointsjava.awt.ShapePlotMap2D. mapPlotShapeToGraphic(Shape2D plot_shape)Maps an mgui shape from data points to graphic points -
Uses of Shape2D in mgui.interfaces.shapes
Fields in mgui.interfaces.shapes declared as Shape2D Modifier and Type Field Description Shape2DShape2DInt. thisShapeMethods in mgui.interfaces.shapes that return Shape2D Modifier and Type Method Description Shape2DShape2DInt. getShape()Methods in mgui.interfaces.shapes with parameters of type Shape2D Modifier and Type Method Description voidBoolPolygon2DInt. setShape(Shape2D thisShape)voidIntPolygon2DInt. setShape(Shape2D thisShape)voidPolygon2DInt. setShape(Shape2D newShape)voidRect2DInt. setShape(Shape2D newShape)voidShape2DInt. setShape(Shape2D newShape)voidText2DInt. setShape(Shape2D newShape) -
Uses of Shape2D in mgui.interfaces.shapes.graphs
Methods in mgui.interfaces.shapes.graphs with parameters of type Shape2D Modifier and Type Method Description voidGraph2DInt. setShape(Shape2D shape) -
Uses of Shape2D in mgui.morph.sections
Subclasses of Shape2D in mgui.morph.sections Modifier and Type Class Description classRadialRep2DMethods in mgui.morph.sections that return Shape2D Modifier and Type Method Description Shape2DRadialRep2DInt. getShape()