Package org.apache.commons.geometry.euclidean.twod
This package provides basic 2D geometry components.
-
Interface Summary Interface Description BoundarySource2D Extension of theBoundarySourceinterface for Euclidean 2D space.Linecastable2D Interface for objects that support linecast operations in Euclidean 2D space. -
Class Summary Class Description AffineTransformMatrix2D Class using a matrix to represent affine transformations in 2 dimensional Euclidean space.BoundaryList2D BoundarySource2Dimplementation that uses boundaries stored in a list.BoundarySourceBoundsBuilder2D Class used to constructBounds2Dinstances representing the min and max points present in aBoundarySource2D.BoundarySourceLinecaster2D Class that performs linecast operations against arbitraryBoundarySource2Dinstances.Bounds2D Class containing minimum and maximum points defining a 2D axis-aligned bounding box.Bounds2D.Builder Class used to constructBounds2Dinstances.ConvexArea Class representing a finite or infinite convex area in Euclidean 2D space.EmbeddedTreeLineSubset Class representing an arbitrary subset of a line using aRegionBSPTree1D.Line This class represents an oriented line in the 2D plane.Line.SubspaceTransform Class containing a transformed line instance along with a subspace (1D) transform.LinecastPoint2D Class representing intersections resulting from linecast operations in Euclidean 2D space.LineConvexSubset Class representing a convex subset of a line in 2D Euclidean space.Lines Class containing factory methods for constructingLineandLineSubsetinstances.LineSpanningSubset Class representing the span of a line in 2D Euclidean space.LineSubset Class representing a subset of points on a line in 2D Euclidean space.PolarCoordinates Class representing polar coordinates in 2 dimensional Euclidean space.Ray Class representing a ray in 2D Euclidean space.RegionBSPTree2D Binary space partitioning (BSP) tree representing a region in two dimensional Euclidean space.RegionBSPTree2D.BoundaryProjector2D Class used to project points onto the 2D region boundary.RegionBSPTree2D.LinecastVisitor BSP tree visitor that performs a linecast operation against the boundaries of the visited tree.RegionBSPTree2D.PartitionedRegionBuilder2D Class used to build regions in Euclidean 2D space by inserting boundaries into a BSP tree containing "partitions", i.e.RegionBSPTree2D.RegionNode2D BSP tree node for two dimensional Euclidean space.ReverseRay Class representing a portion of a line in 2D Euclidean space that starts at infinity and continues in the direction of the line up to a single end point.Segment Class representing a line segment in 2D Euclidean space.Vector2D This class represents vectors and points in two-dimensional Euclidean space.Vector2D.Sum Class used to create high-accuracy sums of vectors.Vector2D.Unit Represents unit vectors.