Abstract2DShape

abstract class Abstract2DShape<P : Position2D<P>?> : Filter<P>

A bidimensional Alchemist Filter that relies on AWT java.awt.Shape.

Parameters

<P>

position type

Functions

Link copied to clipboard
open fun and(other: Predicate<out Any>): Predicate<T>
Link copied to clipboard
fun contains(position: P): Boolean
Checks if the position is inside the shape.
Link copied to clipboard
open fun invoke(position: P): Boolean
Checks if the position is inside the shape.
abstract fun invoke(p: P1): R
Link copied to clipboard
open fun <T> isEqual(targetRef: Any): Predicate<T>
Link copied to clipboard
open fun negate(): Predicate<T>
Link copied to clipboard
open fun <T> not(target: Predicate<out Any>): Predicate<T>
Link copied to clipboard
open fun or(other: Predicate<out Any>): Predicate<T>
Link copied to clipboard
open fun test(position: P): Boolean
Checks if the position is inside the shape.
abstract fun test(p: T): Boolean
Link copied to clipboard
open fun toString(): String

Inheritors

Link copied to clipboard
Link copied to clipboard