Package-level declarations

Types

Link copied to clipboard

Represents a transformable annulus in a two-dimensional Euclidean space.

Link copied to clipboard
interface AnnulusShape : Shape

Represents a shape of annulus in a two-dimensional Euclidean space.

Link copied to clipboard

Represents a transformable circle in a two-dimensional Euclidean space.

Link copied to clipboard
interface CircleShape : Shape

Represents a shape of circle in a two-dimensional Euclidean space.

Link copied to clipboard

Represents a transformable line segment in a two-dimensional Euclidean space.

Link copied to clipboard

Represents a mutable transformable annulus in a two-dimensional Euclidean space.

Link copied to clipboard

Represents a mutable transformable circle in a two-dimensional Euclidean space.

Link copied to clipboard

Represents a mutable transformable line segment in a two-dimensional Euclidean space.

Link copied to clipboard
class MutableRay(origin: Vector2F, direction: Vector2F) : Ray, MutableTransformable

Represents a mutable transformable ray in a two-dimensional Euclidean space.

Link copied to clipboard

Represents a mutable transformable rectangle in a two-dimensional Euclidean space.

Link copied to clipboard

Represents a mutable transformable regular polygon in a two-dimensional Euclidean space.

Link copied to clipboard

Represents a mutable transformable regular triangle in a two-dimensional Euclidean space.

Link copied to clipboard

Represents a mutable transformable rounded rectangle in a two-dimensional Euclidean space.

Link copied to clipboard

Represents a mutable transformable square in a two-dimensional Euclidean space.

Link copied to clipboard

Represents a mutable transformable object in a two-dimensional Euclidean space.

Link copied to clipboard

Represents a mutable transformable triangle in a two-dimensional Euclidean space.

Link copied to clipboard
interface Ray : Transformable

Represents a transformable ray in a two-dimensional Euclidean space.

Link copied to clipboard

Represents a transformable rectangle in a two-dimensional Euclidean space.

Link copied to clipboard
interface RectangleShape : Shape

Represents a shape of rectangle in a two-dimensional Euclidean space.

Link copied to clipboard

Represents a transformable regular polygon in a two-dimensional Euclidean space.

Link copied to clipboard
interface RegularShape : Shape

Represents a regular shape in a two-dimensional Euclidean space.

Link copied to clipboard

Represents a transformable regular triangle in a two-dimensional Euclidean space.

Link copied to clipboard

Represents a transformable rounded rectangle in a two-dimensional Euclidean space.

Link copied to clipboard

Represents a shape of rounded rectangle in a two-dimensional Euclidean space.

Link copied to clipboard
interface Shape

Represents a shape in a two-dimensional Euclidean space.

Link copied to clipboard

Represents a transformable square in a two-dimensional Euclidean space.

Link copied to clipboard
interface Transformable

Represents a transformable object in a two-dimensional Euclidean space.

Link copied to clipboard

Represents a transformable triangle in a two-dimensional Euclidean space.

Link copied to clipboard
interface TriangleShape : Shape

Represents a shape of triangle in a two-dimensional Euclidean space.

Functions

Link copied to clipboard
fun Annulus(center: Vector2F, orientation: ComplexF, outerRadius: Float, innerRadius: Float): Annulus

Creates a new instance of Annulus.

Link copied to clipboard
fun Circle(center: Vector2F, orientation: ComplexF, radius: Float): Circle

Creates a new instance of Circle.

Link copied to clipboard
fun LineSegment(pointA: Vector2F, pointB: Vector2F): LineSegment
fun LineSegment(center: Vector2F, orientation: ComplexF, length: Float): LineSegment

Creates a new instance of LineSegment.

Link copied to clipboard
fun Ray(origin: Vector2F, direction: Vector2F): Ray

Creates a new instance of Ray.

Link copied to clipboard
fun Rectangle(center: Vector2F, orientation: ComplexF, width: Float, height: Float): Rectangle

Creates a new instance of Rectangle.

Link copied to clipboard
fun RegularPolygon(center: Vector2F, orientation: ComplexF, sideLength: Float, sideCount: Int): RegularPolygon

Creates a new instance of RegularPolygon.

Link copied to clipboard
fun RegularTriangle(center: Vector2F, orientation: ComplexF, sideLength: Float): RegularTriangle

Creates a new instance of RegularTriangle.

Link copied to clipboard
fun RoundedRectangle(center: Vector2F, orientation: ComplexF, width: Float, height: Float, cornerRadius: Float): RoundedRectangle

Creates a new instance of RoundedRectangle.

Link copied to clipboard
fun Square(center: Vector2F, orientation: ComplexF, sideLength: Float): Square

Creates a new instance of Square.

Link copied to clipboard
fun Triangle(pointA: Vector2F, pointB: Vector2F, pointC: Vector2F): Triangle
fun Triangle(centroid: Vector2F, orientation: ComplexF, originPointA: Vector2F, originPointB: Vector2F, originPointC: Vector2F): Triangle

Creates a new instance of Triangle.