Package mgui.geometry
Provides 2D and 3D geometry representations and utilities for all shapes used in ModelGUI.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Andrew Reid
-
Interface Summary Interface Description Shape This is the base interface for all shapes in mgui. -
Class Summary Class Description Box3D Box in R3 with base point and three orthogonal axis vectors (denoted by S, T, and R, respectively).Circle2D Represents a 2D circle.Cube3D Represents a 3 dimensional cube object, using a Point3f, two Vector3f's and a float.Ellipse2D Represents an ellipse shape.Graph2D Represents a graph as a 2D geometric shape.Graph3D Represents a graph as a 3D geometric shape.Grid3D Holds a 3D array of values and a Box3D defining the distribution of these values in R3.LineSegment2D Represents a line segment in R2.LineSegment3D Represents a line segment in R3.Mesh3D Geometry class to represent a 3D triangular mesh.Mesh3D.MeshFace3D Inner class which defines a face in a meshPlane3D Represents a plane in 3 dimensions, using a Point3d and a Vector3d (normal)Point2D Represents a 2D point.PointSet2D Represents a set of 2D points.PointSet3D Represents a set of 3D points.Polygon2D Represents a series of connected 2D points, defining either a polyline or a closed polygon.Polygon3D Geometry class for a polygon in R3.Radius2D DEV NOTE: deprecate or change; does not have fixed geometry, thus doesn't fit definition of aShape
.Rect2D Represents a 2D rectangle.Rect3D Represents a 3D rectangle shape, defined by four 3D nodes representing BL, BR, TR, TL corners, respectively.Shape2D Base class to be extended by all 2D shapes.Shape3D Base class to be extended by all 3D shapes.Sphere3D Represents a sphere in R3.Text2D Represents a character string with 2D geometry.Triangle2D Represents a 2D triangle.Triangle3D Represents a 3D triangle.Vector2D Represents a 2D vector, defined by an end-point and a vector.Vector3D Represents a 3D vector, defined by an end-point and a vector.