Extendable Convex Polygon
A sophisticated MutableConvexPolygon.
Inheritors
Properties
Functions
Advances an edge in its normal direction.
Finds the edge of the polygon closest to the provided segment, i.e. the first one that would collide (= intersect) with the segment in case the polygon extended on each side.
Checks if the polygon contains a vector (= a point). The definition of insideness may vary depending on the implementation, this may affect the outcome for points lying on the polygon's boundary. For accurate operations see containsBoundaryIncluded and containsBoundaryExcluded.
Checks if the polygon contains a polygonal java.awt.Shape (i.e. without curved segments). A polygonal shape is contained in a polygon if all of its points are contained in (or lie on the boundary of) the latter.
Checks if a vector (= a point) is contained in the polygon, boundary excluded.
Checks if a vector (= a point) is contained in the polygon or lies on its boundary.
Checks if a segment intersects with the polygon, segments lying on the polygon's boundary are not considered to be intersecting.
Checks if a java.awt.Shape intersects the polygon, adjacent shapes are not considered to be intersecting.
A polygon is adjacent to another if any of its points lies on the boundary of the other.
Checks if a vector (= a point) lies on the polygon's boundary.
Moves a vertex of the polygon to a new absolute position.
Removes a vertex from the polygon.
Replaces an edge of the polygon.