AdimensionalShape

class AdimensionalShape<S : Vector<S>, A : GeometricTransformation<S>>(centroid: S) : GeometricShape<S, A>

A special shape which does not occupy space and does not intersect with any other, not even with itself. It also ignores any transformation.

Constructors

Link copied to clipboard
fun <S : Vector<S>> AdimensionalShape(centroid: S)

Functions

Link copied to clipboard
open override fun contains(vector: S): Boolean
Link copied to clipboard
open override fun intersects(other: GeometricShape<S, A>): Boolean
Link copied to clipboard
open override fun transformed(transformation: A.() -> Unit): AdimensionalShape<S, A>

Any transformation is ignored.

Properties

Link copied to clipboard
open override val centroid: S
Link copied to clipboard
open override val diameter: Double = 0.0
Link copied to clipboard
open val radius: Double