Package it.unibo.alchemist.model.geometry
See: Description
-
Interface Summary Interface Description Shape Models a generic shape. Transformation Defines a generic transformation of a generic shape. Vector A generic vector in a multidimensional space. Vector2D Bidimensional vector with x and y coordinates. AwtShapeCompatible Anything which can be represented as a java.awt.Shape. ConvexPolygon A simple polygon (i.e. ConvexShape A convex Shape. Euclidean2DShapeFactory Defines a factory of Shape for a bidimensional euclidean space. Euclidean2DTransformation Defines the possible Transformations for a GeometricShape in a bidimensional Euclidean space. ExtendableConvexPolygon A sophisticated MutableConvexPolygon. GeometricShapeFactory Generic factory for Shape. Line2D Defines a straight line in a cartesian plane. MutableConvexPolygon A mutable ConvexPolygon. Segment2D Defines a line segment in a cartesian plane, endpoints are included. -
Object Summary Object Description Companion Utility functions for Vector2D. Companion Factory methods for Shape. None Objects do not intersect. InfinitePoints Objects intersect in infinite points (e.g. Companion Factory methods for Intersection2D. Companion Factories, constants, and utility methods for SlopeInterceptLine2D. -
Class Summary Class Description AbstractConvexPolygon An abstract ConvexPolygon providing a convexity test. AbstractShapeFactory Base class for Transformation providing a standard implementation for GeometricShapeFactory.adimensional. AwtMutableConvexPolygon MutableConvexPolygon partly delegated to AwtEuclidean2DShape and java.awt.geom. Ellipse Adapter of java.awt.geom.Ellipse2D to Euclidean2DConvexShape. SinglePoint Objects intersect in a single point. MultiplePoints Objects intersect in a discrete number of points. Intersection2D Describes the result an intersection operation in an euclidean 2D space. Segment2DImpl Implementation of a Segment2D. SlopeInterceptLine2D A Line2D represented in the slope-intercept form: y = slope * x + yIntercept.