Package it.unibo.alchemist.model.interfaces.geometry.euclidean2d

Types

Link copied to clipboard

A simple polygon (i.e. not self-intersecting and without holes) in which no line segment between two points on the boundary ever goes outside the polygon.

Link copied to clipboard

A convex euclidean shape in a bidimensional environment.

Link copied to clipboard

Defines an euclidean shape in a bidimensional space.

Link copied to clipboard

Defines a factory of GeometricShape for a bidimensional euclidean space.

Link copied to clipboard

Defines the possible transformations for a it.unibo.alchemist.model.interfaces.geometry.GeometricShape in a bidimensional euclidean space.

Link copied to clipboard
sealed class Intersection2D<out V>

Describes the result an intersection operation in an euclidean 2D space. Type V must extend Vector2D. The requirement is not explicitly enforced to allow the class to work covariantly.

Link copied to clipboard
interface Line2D<P : Vector2D<P>>

Defines a straight line in a cartesian plane.

Link copied to clipboard
interface MutableConvexPolygon : ConvexPolygon

A mutable ConvexPolygon.

Link copied to clipboard
interface Segment2D<P : Vector2D<P>>

Defines a line segment in a cartesian plane, endpoints are included.