Current supported convex shapes:
Polygonan arbitrary convex polygon
Slicea piece of a circle
Segmentspecial case shape; take care when using this class
HalfEllipseare not compatible with all collision detection algorithms.
All shapes can be constructed using their respective constructors or via the
Shape constructors do not duplicate the input information whereas the
Geometry class methods do. The
Geometry class methods can
also place the newly created shape at the origin for easier manipulation.
Shape classes allow for some manipulation, but it's not recommend to do so
after creation, except for the rotate and translate methods.
Vectors, points and vertices are all represented by the
Interface representing an object that can be rotated.
Represents a geometric
Represents an object that can be shifted in the x and y plane.
Represents an object that can be translated or moved in the x-y plane.
Represents a shape that is defined by vertices with line segment connections with counter-clockwise winding.
Implementation of an Axis-Align Bounding Box.
Base implementation of the
Represents an indexed feature of a
Contains static methods to perform standard geometric operations.
Represents a one dimensional numeric
This class is a specialization of the
Represents a 2x2 Matrix.
Represents a 3x3 Matrix.
Implementation of a ray.
Represents a transformation matrix.
This class represents a vector or point in 2D space.
This class represents a vector or point in 3D space.
Enumeration for special