Constructors

Link copied to clipboard
constructor(ellipse: Ellipse2D)

Properties

Link copied to clipboard
open override val centroid: Euclidean2DPosition

The geometric center.

Link copied to clipboard
open override val diameter: Double

The largest distance between any pair of vertices.

Link copied to clipboard
open val radius: Double

Half the diameter.

Functions

Link copied to clipboard
open override fun asAwtShape(): Ellipse2D
Link copied to clipboard
open override fun contains(vector: Euclidean2DPosition): Boolean

Check if the shape contains a vector.

Link copied to clipboard
open override fun intersects(other: Euclidean2DShape): Boolean

A shape intersects another if any of its points is contained in the other one.

Link copied to clipboard

Transforms the shape.